LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2008, 06:29 PM   #1
blancs
Member
 
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
is this possible?


I would like to add a usergroup and add three users. now i am going to run a game server and would like all the users to be able to view and kill that process or whatever. can i do that? or is my only option to add a new user and just run the one process off that account and give the 3 users acess to that account? hope this makes sense.
 
Old 07-20-2008, 06:41 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You can configure sudo to allow specific commands to be allowed by specific users. So you could say that all users can run the kill command but not other utilities that require privileges. Read the /etc/sudoers file for more information.

Last edited by stress_junkie; 07-20-2008 at 06:43 PM.
 
Old 07-20-2008, 08:36 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
That doesn't make sense. The correct way to give users such control of the game server is to allow them to send messages to instruct it to close down. Otherwise your 3 users have to log into the same user account which started the server. It doesn't make sense to allow one user to kill another user's process (except for 'root'). Using 'kill' is a strange way to deal with a game server though.
 
Old 07-21-2008, 06:44 PM   #4
FranDango
Member
 
Registered: Jun 2008
Posts: 101

Rep: Reputation: 15
The game server and the user associated with that should be the one to kill any processes. The 3 admin users should communicate with the server (that's what a server application does anyway) after proper authentication. That way the 3 users are distinct, but can issue those killing commands (this sounds so brutal).

Linux Archive

Last edited by FranDango; 09-20-2008 at 06:09 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration