diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-08-01 18:58:56 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-08-01 18:58:56 +0000 |
commit | 21029029afce515ffa73e8cd0d14786bdf634c66 (patch) | |
tree | 23f3901cd40d33f5724d6b5ceb0ded3d8ccdff48 /sudoers | |
parent | 26891533a8084275333a6928c2355c15ebe5bf29 (diff) |
sudoers: Allow everybody to unmount automounts (as suggested in autofs HOWTO).
Diffstat (limited to 'sudoers')
-rw-r--r-- | sudoers | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,6 +4,8 @@ User_Alias WEBUSERS=%webusers User_Alias REALUSERS=%realusers +Cmnd_Alias UNMOUNT=NOPASSWD:/usr/bin/killall -USR1 automount + Cmnd_Alias READLOG=/usr/local/sbin/showlog, \ /usr/local/sbin/showlog [a-zA-Z0-9]*, \ /usr/local/sbin/showlog [a-zA-Z0-9 ]* @@ -29,8 +31,8 @@ Cmnd_Alias RESTART=/etc/init.d/bind reload, \ /usr/bin/cvs update -d, \ /usr/bin/cvs update -WEBUSERS ALL=READLOG,!ROOTLOG -REALUSERS ALL=READLOG,!ROOTLOG -NOC ALL=READLOG,USERMOD,!ROOTMOD,RESTART +WEBUSERS ALL=UNMOUNT,READLOG,!ROOTLOG +REALUSERS ALL=UNMOUNT,READLOG,!ROOTLOG +NOC ALL=UNMOUNT,READLOG,USERMOD,!ROOTMOD,RESTART root ALL=(ALL) ALL |