>you can run something like jsvc and > set the user to 'tomcat' which allows you to bind Howto? /dan On Fri, 2008-02-22 at 12:57 -0800, Alan Chaney wrote: > Or as I mentioned in a recent email, you can run something like jsvc and > set the user to 'tomcat' which allows you to bind to the port and then > changes the user. > > Regards > > Alan > > > Mark H. Wood wrote: > > I must've missed the place in the documentation where it explains how > > to get Tomcat to start as root, then drop privileges after opening > > listening sockets on low-numbered ports that are only accessible by > > root, like Apache HTTPD does. > > > > On most Unix-alikes, you have to choose: > > > > o tell people to use port 8080 or whatever nonprivileged port you > > configured; > > > > o use a packet-mangling firewall rule to remap port 80 to port 8080 > > or whatever; > > > > o place a proxy (such as Apache HTTPD) in front of Tomcat to forward > > port 80 traffic; > > > > o run Tomcat as root, allowing buggy app.s to make arbitrary changes > > anywhere on your server. > > > > If I ever have time to do something about that, I'll be sure to submit > > a patch. > > > > > > > > ------------------------------------------------------------------------ > > > > !DSPAM:47bf361642361264652389! > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Dan Östberg Berg Prästgården 840 40 SVENSTAVIK Sweden +46 730 48 36 39
Small Is Beautiful --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]