From: Todd C. Miller Date: Sat, 15 Dec 2001 05:44:06 +0000 (+0000) Subject: Add simple examples from OpenBSD (Marc Espie) X-Git-Tag: SUDO_1_6_4~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c953644f64615a26231db1b71d510f804b538af3;p=sudo Add simple examples from OpenBSD (Marc Espie) --- diff --git a/sudoers b/sudoers index f49eb49dd..5d67cfd89 100644 --- a/sudoers +++ b/sudoers @@ -13,3 +13,14 @@ # User privilege specification root ALL=(ALL) ALL + +# Uncomment to allow people in group wheel to run all commands +# %wheel ALL=(ALL) ALL + +# Same thing without a password +# %wheel ALL=(ALL) NOPASSWD: ALL + +# Samples +# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom +# %users localhost=/sbin/shutdown -h now +