This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 forum!
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
Similar Threads
Tomcat setup on Linux
How to upload an attachment?
File Organization
Session slowness with Linux
Installation Guide (Tomcat on Linux)