diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-09-09 20:23:11 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-09-09 20:23:11 +0000 |
commit | f1755777d35d964920beace4b1523b76d768b8ae (patch) | |
tree | c2eaca3d3398af50b58d27685b5b8d19c0732041 /sudoers | |
parent | 695d72581248e2828edb245568a4f7f9c7a1b71f (diff) |
sudoers: Allow webusers to run user-init (needed for webphpsites).
Diffstat (limited to 'sudoers')
-rw-r--r-- | sudoers | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,6 +4,8 @@ User_Alias WEBUSERS=%webusers User_Alias REALUSERS=%realusers +Cmnd_Alias INITUSER=/usr/local/sbin/user-init [a-zA-Z0-9]* + Cmnd_Alias UNMOUNT=NOPASSWD:/usr/bin/killall -USR1 automount Cmnd_Alias READLOG=/usr/local/sbin/showlog, \ @@ -31,8 +33,8 @@ Cmnd_Alias RESTART=/etc/init.d/bind reload, \ /usr/bin/cvs update -d, \ /usr/bin/cvs update -WEBUSERS ALL=UNMOUNT,READLOG,!ROOTLOG +WEBUSERS ALL=INITUSER,UNMOUNT,READLOG,!ROOTLOG REALUSERS ALL=UNMOUNT,READLOG,!ROOTLOG -NOC ALL=UNMOUNT,READLOG,USERMOD,!ROOTMOD,RESTART +NOC ALL=INITUSER,UNMOUNT,READLOG,USERMOD,!ROOTMOD,RESTART root ALL=(ALL) ALL |