1# $MirSecuCron$ 2# $MirOS: src/usr.bin/sudo/sudoers,v 1.6 2009/07/18 14:09:20 tg Exp $ 3# sudoers file. 4# 5# This file MUST be edited with the 'visudo' command as root. 6# See the sudoers man page for the details on how to write a sudoers file. 7 8# Host alias specification 9 10# User alias specification 11 12# Cmnd alias specification 13 14# Defaults specification 15Defaults:root !syslog 16Defaults:daemon !syslog 17Defaults:%wheel passwd_timeout=0 18 19# Runas alias specification 20 21# User privilege specification 22root ALL=(ALL) ALL 23 24# Uncomment to allow people in group wheel to run all commands 25%wheel ALL=(ALL) ALL 26 27# Same thing without a password 28# %wheel ALL=(ALL) NOPASSWD: ALL 29 30# Samples 31# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom 32# %users localhost=/sbin/shutdown -h now 33