You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ac...@saysit.com on 2003/09/04 03:48:00 UTC

starting tomcat as non-root

Hi all.
I'm o TC4.0.4
I know this subject has been discussed many times before.
Are we getting any close to starting tomcat with user "nobody" or
"tomcat" or anything like that on 8080?
Sorry for the repetitiveness

Re: starting tomcat as non-root

Posted by ac...@saysit.com.
> To get such a beast to appear on port 80 I'm using iptables on linux to
> forward from port 80 to port 8080 as described at
> http://www.klawitter.de/tomcat80.html

May the All Blacks thump the Rose ;-)

Re: starting tomcat as non-root

Posted by ac...@saysit.com.
Tom Parker wrote:
>
> To get such a beast to appear on port 80 I'm using iptables on linux to
> forward from port 80 to port 8080 as described at
> http://www.klawitter.de/tomcat80.html
> 
Thanks :-)

Re: starting tomcat as non-root

Posted by Tom Parker <to...@econz.co.nz>.
On Thu, 2003-09-04 at 13:48, achana@saysit.com wrote:

> Hi all.
> I'm o TC4.0.4
> I know this subject has been discussed many times before.
> Are we getting any close to starting tomcat with user "nobody" or
> "tomcat" or anything like that on 8080?
> Sorry for the repetitiveness

su tomcat -c tomcatstartscript

You will need to give the tomcat user write access to the appropriate
directories (the log directory, the webapps directory (if you unpack
wars) and any other work directories) spring to mind. Obviously it will
also have to have read access to a bunch of stuff.

The redhat rpms alraady do this (with the tomcat4 user).

To get such a beast to appear on port 80 I'm using iptables on linux to
forward from port 80 to port 8080 as described at 
http://www.klawitter.de/tomcat80.html