- User_Alias NOC=%adm
- User_Alias WEBUSERS=%webusers
- User_Alias REALUSERS=%realusers
- Cmnd_Alias INITUSER=/usr/local/sbin/user-init [a-z]*
- 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 ]*
- Cmnd_Alias ROOTLOG=/usr/local/sbin/showlog system*
- Cmnd_Alias USERMOD=/usr/local/sbin/user-mailaddr, \
- /usr/local/sbin/user-mailaddr [a-zA-Z0-9]*, \
- /usr/sbin/adduser [a-zA-Z0-9]*, \
- /usr/sbin/deluser [a-zA-Z0-9]*, \
- /usr/bin/passwd [a-zA-Z0-9]*, \
- /usr/bin/chfn [a-zA-Z0-9]*
- Cmnd_Alias ROOTMOD=/usr/bin/passwd root, \
- /usr/sbin/userdel root, \
- /usr/sbin/userdel -r root,\
- /usr/sbin/adduser root
- Cmnd_Alias RESTART=/etc/init.d/bind reload, \
- /etc/init.d/bind restart, \
- /etc/init.d/bind9 reload, \
- /etc/init.d/bind9 restart, \
- /usr/bin/cvs update -d, \
- /usr/bin/cvs update
- WEBUSERS ALL=INITUSER,UNMOUNT,READLOG,!ROOTLOG
- REALUSERS ALL=UNMOUNT,READLOG,!ROOTLOG
- NOC ALL=INITUSER,UNMOUNT,READLOG,USERMOD,!ROOTMOD,RESTART
- root ALL=(ALL) ALL
|