From 21029029afce515ffa73e8cd0d14786bdf634c66 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 1 Aug 2002 18:58:56 +0000 Subject: sudoers: Allow everybody to unmount automounts (as suggested in autofs HOWTO). --- sudoers | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sudoers') diff --git a/sudoers b/sudoers index b4d5e55..bc0f995 100644 --- a/sudoers +++ b/sudoers @@ -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 -- cgit v1.2.3