[sudo-users] kill

Bob Proulx bob at proulx.com
Wed May 10 03:41:25 EDT 2006


ANDREW PISTOCCHI wrote:
> Is there any easy way to give a user or group of users the ability to
> kill processes with the exception of root, and possibly another user?

I would suggest writing a helper program to ensure this.  You could
use 'perl -T' for this.  Have the helper ensure that it will not kill
root processes.  Then allow users to run the helper with sudo.

Writing the helper is left as an exercise for the reader.  :-)

Bob



More information about the sudo-users mailing list