Annotation of src/usr.bin/sudo/sudoers, Revision 1.14
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.3 millert 14: # Defaults specification
1.7 millert 15:
1.5 millert 16: # Runas alias specification
17:
1.1 millert 18: # User privilege specification
1.6 millert 19: root ALL=(ALL) SETENV: ALL
1.2 espie 20:
21: # Uncomment to allow people in group wheel to run all commands
1.6 millert 22: # and set environment variables.
23: # %wheel ALL=(ALL) SETENV: ALL
1.2 espie 24:
25: # Same thing without a password
1.6 millert 26: # %wheel ALL=(ALL) NOPASSWD: SETENV: ALL
1.2 espie 27:
28: # Samples
29: # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
30: # %users localhost=/sbin/shutdown -h now