home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20120305.etc.tar.gz / bradford.20120305.etc.tar / etc / sudoers.bak_Thu_Mar_17_21:41:17_2011 < prev    next >
Text File  |  2011-03-17  |  1KB  |  48 lines

  1. # 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. User_Alias CM_USERS = admin, wwwrun 
  12.  
  13. # Cmnd alias specification
  14. Cmnd_Alias CM_COMMANDS = /usr/bin/ssh,/sbin/halt,/sbin/shutdown,/bsc/campusMgr/bin/,/etc/init.d/tomcat,/bin/cp,/usr/bin/scp,/usr/sbin/ntpdate,/sbin/hwclock,/bin/ln,/bin/hostname
  15.  
  16. # Defaults specification
  17. Defaults:CM_USERS       !authenticate, !ignore_dot
  18.  
  19. # prevent environment variables from influencing programs in an
  20. # unexpected or harmful way (CVE-2005-2959, CVE-2005-4158,
  21. # CVE-2006-0151)
  22. Defaults always_set_home
  23. Defaults env_reset
  24.  
  25. # In the default (unconfigured) configuration, sudo asks for the root password.
  26. # This allows use of an ordinary user account for administration of a freshly
  27. # installed system. When configuring sudo, delete the two
  28. # following lines:
  29. Defaults targetpw    # ask for the password of the target user i.e. root
  30. ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
  31.  
  32. # Runas alias specification
  33.  
  34. # User privilege specification
  35. root    ALL=(ALL) ALL
  36.  
  37. # Uncomment to allow people in group wheel to run all commands
  38. # %wheel    ALL=(ALL)    ALL
  39.  
  40. # Same thing without a password
  41. # %wheel    ALL=(ALL)    NOPASSWD: ALL
  42.  
  43. # Samples
  44. # %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
  45. # %users  localhost=/sbin/shutdown -h now
  46.  
  47. CM_USERS ALL = CM_COMMANDS
  48.