[Eug-lug] Sudoers question
roger
roger at eskimo.com
Mon Apr 2 16:03:11 PDT 2007
Include the following within your /etc/sudoers and replace "roger" &
"localhost2" for your own environment.
roger localhost2 =
NOPASSWD: /bin/nice, /usr/bin/nice, /sbin/losetup, /bin/mount, /bin/umount
Should be able to run the above commands just like any other user
allowed commands.
Oh, and of course, always edit the /etc/sudoers file with sudoedit...
but that's what they say. I just use "vi/vim". :-)
On Mon, 2007-04-02 at 14:56 -0700, Martin Kelly wrote:
> Hmm... that didn't work...syntax error. But yes, that's the kind of
> thing I want.
--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61
Mon Apr 2 16:02:00 PDT 2007
More information about the EUGLUG
mailing list