Annotation of src/usr.bin/sudo/sudoers, Revision 1.4
1.4 ! naddy 1: # $OpenBSD$
! 2: #
1.1 millert 3: # sudoers file.
4: #
5: # This file MUST be edited with the 'visudo' command as root.
6: #
7: # See the sudoers man page for the details on how to write a sudoers file.
8: #
9:
10: # Host alias specification
11:
12: # User alias specification
13:
14: # Cmnd alias specification
15:
1.3 millert 16: # Defaults specification
17:
1.1 millert 18: # User privilege specification
19: root ALL=(ALL) ALL
1.2 espie 20:
21: # Uncomment to allow people in group wheel to run all commands
22: # %wheel ALL=(ALL) ALL
23:
24: # Same thing without a password
25: # %wheel ALL=(ALL) NOPASSWD: ALL
26:
27: # Samples
28: # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
29: # %users localhost=/sbin/shutdown -h now
30: