summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/sudoers
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-08-16 14:34:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-08-16 14:34:55 +0000
commit93b781cb33f8880c382de093670f1346842f2423 (patch)
tree575fc2f2b0f342c4a53d2db778fad64fef6d9e53 /usr.bin/sudo/sudoers
parent2b598fb5585654b9eeceb05fc4b5e058af45fa23 (diff)
Flesh it out.
Common additions to sudoers, commented out. To avoid gobbling aspirin while reading sudoers(5) ok millert@
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
+