diff options
Diffstat (limited to 'examples/example/usr/local/etc/sudoers')
-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 | ||