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.
|
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.
|
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.
|
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 |
All times are GMT -5. The time now is 10:43 PM. |