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

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

1.15    ! millert     1: # $OpenBSD: sudoers,v 1.13 2007/09/03 13:40:02 ajacoutot Exp $
        !             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.15    ! millert    17: Defaults env_keep +="DESTDIR FETCH_CMD FLAVOR FTPMODE GROUP MAKE MULTI_PACKAGES"
        !            18: Defaults env_keep +="OKAY_FILES OWNER PKG_DBDIR PKG_DESTDIR PKG_CACHE PKG_PATH"
        !            19: Defaults env_keep +="PKG_TMPDIR PORTSDIR RELEASEDIR SUBPACKAGE"
        !            20:
        !            21: # Uncomment to preserve the environment for users in group wheel
        !            22: #Defaults:%wheel !env_reset
1.7       millert    23:
1.5       millert    24: # Runas alias specification
                     25:
1.1       millert    26: # User privilege specification
1.6       millert    27: root   ALL=(ALL) SETENV: ALL
1.2       espie      28:
                     29: # Uncomment to allow people in group wheel to run all commands
1.6       millert    30: # and set environment variables.
                     31: # %wheel       ALL=(ALL) SETENV: ALL
1.2       espie      32:
                     33: # Same thing without a password
1.6       millert    34: # %wheel       ALL=(ALL) NOPASSWD: SETENV: ALL
1.2       espie      35:
                     36: # Samples
                     37: # %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
                     38: # %users  localhost=/sbin/shutdown -h now