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

Tomcat on Linux

varun bihani
Ranch Hand

Joined: Aug 11, 2003
Posts: 96
I would like to make a user who has the access/rights to start and stop services like Tomcat & Apache only.
I do not want that user to do any thing else on the system.
How can I create that user on Linux 9.1

<a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Originally posted by varun bihani:
Linux 9.1

I assume 9.1 refers to some particular linux distribution cuz the linux kernel version is around 2.6.*.
If you are on Suse 9.1, you can create new users and groups using the YaST2 module, which can be accessed from the start menu - Control Center button. Other distributions should have similar utilities, I think Mandrake and Redhat have kuser, or you can run the appropriate commands from a bash shell.
I agree. Here's the link:
subject: Tomcat on Linux
It's not a secret anymore!