Return to sudoers.default CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default |
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: ! 14: # Cmnd alias specification ! 15: ! 16: # Defaults specification ! 17: # Uncomment if needed to preserve environmental variables related to the ! 18: # FreeBSD pkg_* utilities and fetch. ! 19: #Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR FTP_PASSIVE_MODE" ! 20: ! 21: # Additionally uncomment if needed to preserve environmental variables ! 22: # related to portupgrade. ! 23: #Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF" ! 24: ! 25: # Runas alias specification ! 26: ! 27: # User privilege specification ! 28: root ALL=(ALL) ALL ! 29: ! 30: # Uncomment to allow people in group wheel to run all commands ! 31: # %wheel ALL=(ALL) ALL ! 32: ! 33: # Same thing without a password ! 34: # %wheel ALL=(ALL) NOPASSWD: ALL ! 35: ! 36: # Samples ! 37: # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom ! 38: # %users localhost=/sbin/shutdown -h now