wood burning stoves*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat on Linux" Watch "Tomcat on Linux" New topic
Author

Tomcat on Linux

varun bihani
Ranch Hand

Joined: Aug 11, 2003
Posts: 96
Hi,
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
Thanks


<a href="http://www.galaxyweblinks.com" target="_blank" rel="nofollow">www.galaxyweblinks.com</a><br /><a href="http://www.freechatcode.com" target="_blank" rel="nofollow">www.freechatcode.com</a><br /><a href="http://www.onlinefamilytreemaker.com" target="_blank" rel="nofollow">www.onlinefamilytreemaker.com</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.
 
jQuery in Action, 2nd edition
 
subject: Tomcat on Linux