summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/sudoers
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sudo/sudoers')
-rw-r--r--usr.bin/sudo/sudoers11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/sudo/sudoers b/usr.bin/sudo/sudoers
index f49eb49ddbc..5d67cfd8926 100644
--- a/usr.bin/sudo/sudoers
+++ b/usr.bin/sudo/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
+