Including that line (and none else regarding my user) makes it so I'm
not able to run any commands as sudo.
If I include both that line and the "martin ALL = (ALL) ALL" line, I am
able to run all commands without a password.
roger wrote:
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
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug