mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
add SETENV tag
This commit is contained in:
parent
a26c783bea
commit
b70cf25a35
8
sudoers
8
sudoers
@ -4,7 +4,6 @@
|
||||
#
|
||||
# See the sudoers man page for the details on how to write a sudoers file.
|
||||
#
|
||||
# $Sudo$
|
||||
|
||||
# Host alias specification
|
||||
|
||||
@ -17,13 +16,14 @@
|
||||
# Runas alias specification
|
||||
|
||||
# User privilege specification
|
||||
root ALL=(ALL) ALL
|
||||
root ALL=(ALL) SETENV: ALL
|
||||
|
||||
# Uncomment to allow people in group wheel to run all commands
|
||||
# %wheel ALL=(ALL) ALL
|
||||
# and set environment variables.
|
||||
# %wheel ALL=(ALL) SETENV: ALL
|
||||
|
||||
# Same thing without a password
|
||||
# %wheel ALL=(ALL) NOPASSWD: ALL
|
||||
# %wheel ALL=(ALL) NOPASSWD: SETENV: ALL
|
||||
|
||||
# Samples
|
||||
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
|
||||
|
Loading…
x
Reference in New Issue
Block a user