tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Himsley <>
Subject Re: how not to run servlet as root
Date Sun, 10 Mar 2002 22:02:41 GMT
Include something like the following in a startup script. This I run as root
and you can see that it changes user to 'httpd' (the user my web server runs
under) and then starts catalina. It works very well, at least for me.

su - httpd -c "$CATALINA_HOME/bin/ start"

Good luck.

On Fri, 8 Mar 2002 14:50:03 -0500 you wrote:

>I am trying out Tomcat with apache on linux.
>I would like the servlets NOT to run as root.  Where can I find the
>instruction how to run servlets without privilege?  I suppose this means,
>how to run tomcat on an ordinary user account or as nobody?
>Thank you very much,
>yako sanborn

Mark Himsley
In Acton

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message