diff options
author | erdgeist <erdgeist@erdgeist.org> | 2005-12-31 01:55:16 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2005-12-31 01:55:16 +0000 |
commit | 018578e1fa124422de43e7aa4226a4ec2c56178e (patch) | |
tree | 90a8592b8eb1e1e2e08168a23896cbe470ac1839 /examples | |
parent | c34fe8a02b56eaa3dc166673b84a361824b90caa (diff) |
a nice default sudoers for a jail
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/example/usr/local/etc/sudoers | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ | |||
1 | # sudoers file. | ||
2 | # | ||
3 | # This file MUST be edited with the 'visudo' command as root. | ||
4 | # | ||
5 | # See the sudoers man page for the details on how to write a sudoers file. | ||
6 | # | ||
7 | |||
8 | # Host alias specification | ||
9 | |||
10 | # User alias specification | ||
11 | |||
12 | # Cmnd alias specification | ||
13 | |||
14 | # Defaults specification | ||
15 | |||
16 | # Runas alias specification | ||
17 | |||
18 | # User privilege specification | ||
19 | root ALL=(ALL) ALL | ||
20 | |||
21 | # Uncomment to allow people in group wheel to run all commands | ||
22 | %wheel ALL=(ALL) ALL | ||
23 | |||
24 | # Same thing without a password | ||
25 | # %wheel ALL=(ALL) NOPASSWD: ALL | ||
26 | |||
27 | # Samples | ||
28 | # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom | ||
29 | # %users localhost=/sbin/shutdown -h now | ||