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 a

Re: RE: Starting tomcat as user apache instead of root

2002-11-16 Thread jmong
e when you exit the shell Good luck. - Original Message - From: "Randy Paries" <[EMAIL PROTECTED]> Date: Saturday, November 16, 2002 10:38 am Subject: RE: Starting tomcat as user apache instead of root > Thanks > The problem is that they have to both read and write

RE: Starting tomcat as user apache instead of root

2002-11-16 Thread Randy Paries
IL PROTECTED]] Sent: 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 t

Re: Starting tomcat as user apache instead of root

2002-11-16 Thread jmong
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 a group that has both users and change the group perms on the directory for example (assumes that web user is apache and tomcat user is tom