Newbie SUDO question

Brent Fortman Brent.Fortman at radioshack.com
Thu Aug 16 16:08:30 EDT 2001


How about writing a script say "mykill" with the commands you want and grant
sudo access to "mykill".

Brent

-----Original Message-----
From: Villegas, Beatriz D. [mailto:Beatriz.Villegas at ibx.com]
Sent: Thursday, August 16, 2001 3:03 PM
To: 'sudo-users at courtesan.com'
Subject: Newbie SUDO question


Hello

We are trying to give sudo access to a user that needs to kill a process
that runs as root. We want the user to kill only that process (which is
different every time). We don not know how to specify in the sudoers file
something like:

Cmd_alias = KILL = /usr/bin/kill `cat /tmp/process.pid`

The pid of the process is on the /tmp/process.pid file.

Any suggestions will be greatly appreciated.

Thanks in advance,

Beatriz Villegas

beatriz.villegas at ibx.com

____________________________________________________________ 
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users



More information about the sudo-users mailing list