File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes changing tomcat user Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "changing tomcat user" Watch "changing tomcat user" New topic

changing tomcat user

Chris Patton

Joined: Jun 12, 2000
Posts: 7
hey everybody,
i'm currently running tomcat 4.0 in tandem with apache 1.3 using the mod_jk adapter running in RedHat 7.3. I am using the pre-compiled, pre-packaged tomcat server, but i am not using the rpm version. I'm wondering if there is a way to run tomcat as a user other than root, and if so, how to do it. I feel very uneasy about running a service as root on my machine. since tomcat is run by java, i think i'm basically asking how to run java as something other than root. I know that there's somewhere to set it in the rpm version, but i don't know how (or if) it's possible any other way.
thanks is advance
subject: changing tomcat user
It's not a secret anymore!