tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Himsley <m...@mdsh.com>
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/catalina.sh 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
>sanborn@bnl.gov

-- 
Mark Himsley
In Acton

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message