[BACK]Return to sudoers CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Annotation of src/usr.bin/sudo/sudoers, Revision 1.9

1.9     ! millert     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
1.8       millert    17: Defaults env_keep +="DESTDIR FETCH_CMD FTPMODE PKG_DBDIR PKG_DESTDIR PKG_CACHE PKG_PATH PKG_TMPDIR RELEASEDIR"
1.3       millert    18:
1.7       millert    19: # Uncomment to preserve the environment for users in group wheel
                     20: #Defaults:%wheel !env_reset
                     21:
1.5       millert    22: # Runas alias specification
                     23:
1.1       millert    24: # User privilege specification
1.6       millert    25: root   ALL=(ALL) SETENV: ALL
1.2       espie      26:
                     27: # Uncomment to allow people in group wheel to run all commands
1.6       millert    28: # and set environment variables.
                     29: # %wheel       ALL=(ALL) SETENV: ALL
1.2       espie      30:
                     31: # Same thing without a password
1.6       millert    32: # %wheel       ALL=(ALL) NOPASSWD: SETENV: ALL
1.2       espie      33:
                     34: # Samples
                     35: # %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
                     36: # %users  localhost=/sbin/shutdown -h now