Annotation of elwix/config/etc/default/sudoers, revision 1.1
1.1 ! misho 1: # sudoers file.
! 2: #
! 3: # This file MUST be edited with the 'visudo' command as root.
! 4: # Failure to use 'visudo' may result in syntax or file permission errors
! 5: # that prevent sudo from running.
! 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: User_Alias ADM = admin, misho
! 14:
! 15: # Cmnd alias specification
! 16:
! 17: # Defaults specification
! 18: # Uncomment if needed to preserve environmental variables related to the
! 19: # FreeBSD pkg_* utilities and fetch.
! 20: #Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR FTP_PASSIVE_MODE"
! 21: Defaults syslog = auth, !lecture
! 22:
! 23: # Additionally uncomment if needed to preserve environmental variables
! 24: # related to portupgrade.
! 25: #Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
! 26:
! 27: # Runas alias specification
! 28:
! 29: # User privilege specification
! 30: root ALL=(ALL) ALL
! 31:
! 32: # Uncomment to allow people in group wheel to run all commands
! 33: # %wheel ALL=(ALL) ALL
! 34:
! 35: # Same thing without a password
! 36: # %wheel ALL=(ALL) NOPASSWD: ALL
! 37:
! 38: # Samples
! 39: # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
! 40: # %users localhost=/sbin/shutdown -h now
! 41:
! 42: ADM ALL = NOPASSWD: ALL
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>