a nice default sudoers for a jail
This commit is contained in:
parent
c34fe8a02b
commit
018578e1fa
29
examples/example/usr/local/etc/sudoers
Executable file
29
examples/example/usr/local/etc/sudoers
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user