summaryrefslogtreecommitdiff
path: root/sudoers
blob: b4d5e55a7d58a3e052a7532f3d2b59622dce5938 (plain)
  1. User_Alias  NOC=%adm
  2. User_Alias WEBUSERS=%webusers
  3. User_Alias REALUSERS=%realusers
  4. Cmnd_Alias READLOG=/usr/local/sbin/showlog, \
  5. /usr/local/sbin/showlog [a-zA-Z0-9]*, \
  6. /usr/local/sbin/showlog [a-zA-Z0-9 ]*
  7. Cmnd_Alias ROOTLOG=/usr/local/sbin/showlog system*
  8. Cmnd_Alias USERMOD=/usr/local/sbin/user-mailaddr, \
  9. /usr/local/sbin/user-mailaddr [a-zA-Z0-9]*, \
  10. /usr/sbin/adduser [a-zA-Z0-9]*, \
  11. /usr/sbin/deluser [a-zA-Z0-9]*, \
  12. /usr/bin/passwd [a-zA-Z0-9]*, \
  13. /usr/bin/chfn [a-zA-Z0-9]*
  14. Cmnd_Alias ROOTMOD=/usr/bin/passwd root, \
  15. /usr/sbin/userdel root, \
  16. /usr/sbin/userdel -r root,\
  17. /usr/sbin/adduser root
  18. Cmnd_Alias RESTART=/etc/init.d/bind reload, \
  19. /etc/init.d/bind restart, \
  20. /etc/init.d/bind9 reload, \
  21. /etc/init.d/bind9 restart, \
  22. /usr/bin/cvs update -d, \
  23. /usr/bin/cvs update
  24. WEBUSERS ALL=READLOG,!ROOTLOG
  25. REALUSERS ALL=READLOG,!ROOTLOG
  26. NOC ALL=READLOG,USERMOD,!ROOTMOD,RESTART
  27. root ALL=(ALL) ALL