You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nadia Kunkov <na...@parkerglobal.com> on 2004/02/02 16:02:26 UTC

Run Tomcat 5 as Root or Tomcat User?

Hi, I installed Tomcat 5.0.16 as root.  Now it means that I have to start and stop it being root unless I change ownership on a number of directories including $TOMCAT_HOME/bin.
My question is should I run Tomcat as root or should I create a Tomcat User with the rights to start and stop tomcat and change ownership on ALL Tomcat directories to that user?
I don't think Tomcat 5 comes with startup scripts.  I'm trying to write a startup script but inside the script I have to 'su root' and that means I'll be prompted to enter the password.  I'd like Tomcat to start at boot so I need to avoid the password prompt.
What is the proper way of doing it since it's my first time.....?
Thanks for your help.

NK

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org