From 018578e1fa124422de43e7aa4226a4ec2c56178e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 31 Dec 2005 01:55:16 +0000 Subject: a nice default sudoers for a jail --- examples/example/usr/local/etc/sudoers | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 examples/example/usr/local/etc/sudoers (limited to 'examples/example') diff --git a/examples/example/usr/local/etc/sudoers b/examples/example/usr/local/etc/sudoers new file mode 100755 index 0000000..8e05220 --- /dev/null +++ b/examples/example/usr/local/etc/sudoers @@ -0,0 +1,29 @@ +# sudoers file. +# +# This file MUST be edited with the 'visudo' command as root. +# +# See the sudoers man page for the details on how to write a sudoers file. +# + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# Defaults specification + +# Runas alias specification + +# 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 -- cgit v1.2.3