tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How do I run Tomcat as a non-root user?
Date Wed, 10 Oct 2007 16:11:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

Rob Tanner wrote:
> 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?

RTFM / GIYF / whatever:

http://www.owasp.org/index.php/Securing_tomcat#Using_Port_80
http://tomcat.apache.org/faq/security.html#root
http://tomcat.apache.org/faq/security.html#jsvcExample

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDPm29CaO5/Lv0PARAvtjAJ4qQPeeudYegliNPkYfwFepUR125QCfXPcj
o+bx2mILikPxmKOpaPgxazM=
=gCaG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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