Annotation of src/usr.bin/sudo/sudoers, Revision 1.1.1.1.6.1
1.1 millert 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:
12: # Cmnd alias specification
13:
1.1.1.1.6.1! millert 14: # Defaults specification
! 15:
1.1 millert 16: # User privilege specification
17: root ALL=(ALL) ALL
1.1.1.1.6.1! millert 18:
! 19: # Uncomment to allow people in group wheel to run all commands
! 20: # %wheel ALL=(ALL) ALL
! 21:
! 22: # Same thing without a password
! 23: # %wheel ALL=(ALL) NOPASSWD: ALL
! 24:
! 25: # Samples
! 26: # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
! 27: # %users localhost=/sbin/shutdown -h now
! 28: