tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <mailing-tomcat-u...@schoenhaber.de>
Subject Re: How do I run Tomcat as a non-root user?
Date Wed, 10 Oct 2007 16:11:20 GMT
Rob Tanner schrieb:

> How do I run Tomcat as a non-root user?  I need to be able to bind to 
> ports 80 & 443 which are privileged ports.  I know that with straight 
> Apache the user that it runs as is configured in httpd.conf.  It starts 
> up as root, binds to the ports and then drops its privileges.  However, 
> I'm running Tomcat as stand-alone.  So, is there some mechanism in 
> Tomcat to accomplish the same thing?

Yes, jsvc[1]. The sources should be in the bin/ directory of your Tomcat
installation.

Regards
  mks

[1] http://commons.apache.org/daemon/jsvc.html

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message