While it works if you run as root, you're better off not doing that. 
 The less privileges you give to your processes the better, if something 
goes wrong in your application or tomcat, the most damage it can do is 
to itself.  If you give it root privileges, it can do anything it wants 
to the whole system.



You could probably have just created the tomcat4 user, how it 
disappeared is anyone's guess.

useradd tomcat4

(which creates a tomcat4 group also)



[EMAIL PROTECTED] wrote:

><snip>
>Tomcat4 was running well on my Linux PC untl I reinstalled mod_perl and tried to
>install Apache.
>
>Now when I login as su (root) and type the command:
>"/etc/rc.d/init.d/tomcat4 start"
>
>I get the message:
>"Starting tomcat4: chown: 'tomcat4:tomcat4': invalid user
>chown: 'tomcat4:tomcat4': invalid user
>chown: 'tomcat4:tomcat4': invalid user
>chown: 'tomcat4:tomcat4': invalid user
>su: user tomcat4 does not exist"
>
>
>This command has worked fine until I messed with mod_perl.  
>
>Any assistance on how to fix this and get the user tomcat4 back would be greatly
>appreciated.  
>
>Please note the file tomcat4 exists in the directory /etc/rc.d/init.d/
>
><snip>
>
>
>In case anyone is interested, I fixed this by editing
>etc/tomcat4/conf/tomcat4.conf .  In this file, I changed:
>TOMCAT_USER="tomcat4"
>to
>TOMCAT_USER="root"
>
>
>
>
>
>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to