summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2001-08-16 14:34:54 +0000
committerespie <espie@openbsd.org>2001-08-16 14:34:54 +0000
commit7286e39f38b919f2d01e5da60f0e95d99ed7e897 (patch)
tree790c73bb71fec254b1d16f94262808de8e3c20d5
parentDon't right-justify this debug message. (diff)
downloadwireguard-openbsd-7286e39f38b919f2d01e5da60f0e95d99ed7e897.tar.xz
wireguard-openbsd-7286e39f38b919f2d01e5da60f0e95d99ed7e897.zip
Flesh it out.
Common additions to sudoers, commented out. To avoid gobbling aspirin while reading sudoers(5) ok millert@
-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
+