tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar, Sunitha" <sunit...@cisco.com>
Subject RE: Run Tomcat 5 as Root or Tomcat User?
Date Mon, 02 Feb 2004 17:31:55 GMT
Use sudo

-----Original Message-----
From: Nadia Kunkov [mailto:nadiak@parkerglobal.com] 
Sent: Monday, February 02, 2004 7:02 AM
To: Tomcat help (E-mail)
Subject: 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


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


Mime
View raw message