From c953644f64615a26231db1b71d510f804b538af3 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 15 Dec 2001 05:44:06 +0000 Subject: [PATCH] Add simple examples from OpenBSD (Marc Espie) --- sudoers | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 + -- 2.40.0