Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Tomcat as non root.

Status
Not open for further replies.

md1750

MIS
Apr 18, 2001
80
US
Is there is any way to configure tomcat to run as non-root?.
 
if it is a permissions thing, just "chmod -R 777 $TOMCAT_HOME"

and then just run it as some other user ...

Bear in mind that if you are starting tomcat on port 80, then only root user can bind to that port.
 
Is there a way to workaround it like in the case of apache where is start as root but runs as nobody.
 
work around what ? You don't need to start tomcat as root unless you start it on port 80 ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top