Use sudo
-----Original Message-----
From: Nadia Kunkov [mailto:nadiak@(protected)]
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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)