home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / lib / sudoers < prev    next >
Text File  |  2004-03-08  |  982b  |  31 lines

  1. # /etc/sudoers file.
  2. #
  3. # This file MUST be edited with the 'visudo' command as root.
  4. #
  5. # See the sudoers man page for the details on how to write a sudoers file.
  6. #
  7.  
  8. # Host alias specification
  9.  
  10. # User alias specification
  11.  
  12. # Cmnd alias specification
  13. Cmnd_Alias    ADDUSER = /usr/sbin/useradd
  14. Cmnd_Alias    USERDEL = /usr/sbin/userdel
  15. Cmnd_Alias    CHPASSWD = /usr/sbin/chpasswd
  16. Cmnd_Alias    REBOOT = /sbin/reboot
  17. Cmnd_Alias     POWEROFF = /sbin/poweroff
  18. Cmnd_Alias      SMBADDUSER = /usr/sbin/auto_smbadduser.exp
  19. Cmnd_Alias      SMBPASSWD = /usr/sbin/auto_smbpasswd.exp
  20. Cmnd_Alias      SMBDELUSER = /usr/bin/smbpasswd
  21. Cmnd_Alias    FETCHMAIL  = /usr/bin/fetchmail
  22.  
  23. # User privilege specification
  24.  
  25. Defaults    syslog=auth
  26. Defaults:apache    !authenticate
  27.  
  28. root    ALL=(ALL) ALL
  29. apache  ALL=  NOPASSWD: ADDUSER, CHPASSWD, REBOOT, POWEROFF, USERDEL, SMBADDUSER, SMBPASSWD, SMBDELUSER, FETCHMAIL
  30. mschering  ALL=  NOPASSWD: ADDUSER, CHPASSWD, REBOOT, POWEROFF, USERDEL, SMBADDUSER, SMBPASSWD, SMBDELUSER, FETCHMAIL
  31.