tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <peter.crowt...@melandra.com>
Subject Re: How to change effective user id on Windows
Date Thu, 07 Jan 2010 14:11:38 GMT
2010/1/7 Amit Agarwal <ami.aga@gmail.com>:
> Tomat on Linux starts as root to bind to
> port 80, and then switches effective user id to nobody. Windows does not
> appear to have concept of changing effective user. Tomcat service runs
> as a local system on Windows. Need to change the user for Tomcat
> after binding to port 80.
>
> How can this be achieved?

Just start Tomcat as the non-system user on Windows.  Windows does not
prevent any process binding to "privileged" ports.

- Peter

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


Mime
View raw message