Is it possible to run tomcat as root? Yes.
Is it advised? No.
I think you're on the right track with the separate process idea. That
would limit the opportunities presented to would be hackers. Another
idea, you might be able to do something with the sudo command and
Runtime.exec() as long as you have very tight control over what commands
are executed that way.
--David
Paul McMahon wrote:
Is it possible to run Tomcat as non ROOT (desirable as I see from FAQs/other
threads), but have a servlet that needs ROOT access?
Or is the solution to have the servlet application code running as a separate
daemon outside tomcat, with some form of comms to tomcat servlet when tasks
need to be done?
-Paul
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]