I don't think that you are right.

To run tomcat as root means you have less security than having 
more security.

You have to be aware that you open a additional potential 
security hole for the user that runs tomcat. (That is not 
specific to tomcat, that is true for any application)

E.G.: If tomcat or your application contains an error
that let's some user execute a command on the server,
this command will have the rigths of the tomcat user.

If this user is root, the command can do nearly everything 
on the server. Otherwise it could just have restricted 
access to the system.

If you want to use port 80 it is better to run tomcat behind
a connector, a port mapper or a proxy and use a user with the 
least possible rights.

> -----Original Message-----
> From: Kristján Rúnarsson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 1:34 PM
> To: Tomcat Users List
> Subject: Re: Why run tomcat as root
> 
> 
The Root account is also preferable beacuse the account and processes 
that run under it are considerably better protected than those of a 
normal user, provided you have not castrated the Root account security 
wise, ie configured it incorrectly. The less secure the account you run 
Tomcat under the easyser it is for a malicious user to sabotage your 
webserver by editing or deleting files, killing processes and so on. 
The ROOT acount is a citadel on a mountain top, very hard for a hacker 
to break, much harder than a normal account. If you run Tomcat as root, 
only you and those trusted few that you have mady privy to the root 
password, can manipulate the Tomcat server.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to