Re: Starting tomcat as user apache instead of root

2002-11-17 Thread Nikola Milutinovic
Randy Paries wrote: Thanks The problem is that they have to both read and write files The weird thing is if I do a su - apache -c $TOMCAT_HOME/bin/startup.sh It does not start But if I do a su - tomcat -c $TOMCAT_HOME/bin/startup.sh Is does. The one diff is that in the etc/passwd file

Starting tomcat as user apache instead of root

2002-11-16 Thread Randy Paries
Hello, Currently I am starting tomcat as root. This is not the best thing to say the least Both tomcat and apache have to share files. (Actually I upload files using both) So I need to start tomcat as the user apache So how is this best way to do that? Should I do a su - apache -c

Re: Starting tomcat as user apache instead of root

2002-11-16 Thread jmong
[EMAIL PROTECTED] Date: Saturday, November 16, 2002 6:08 am Subject: Starting tomcat as user apache instead of root Hello, Currently I am starting tomcat as root. This is not the best thing to say the least Both tomcat and apache have to share files. (Actually I upload files using both) So I need

RE: Starting tomcat as user apache instead of root

2002-11-16 Thread Randy Paries
: Saturday, November 16, 2002 10:33 AM To: Tomcat Users List Cc: 'Tomcat Users List' Subject: Re: Starting tomcat as user apache instead of root That's one way and I've used that method successfully. The other is if the tomcat user simply needs read access to the files (not write access) just create