2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

add SETENV tag

This commit is contained in:
Todd C. Miller
2007-07-08 13:17:59 +00:00
parent a26c783bea
commit b70cf25a35

View File

@@ -4,7 +4,6 @@
# #
# See the sudoers man page for the details on how to write a sudoers file. # See the sudoers man page for the details on how to write a sudoers file.
# #
# $Sudo$
# Host alias specification # Host alias specification
@@ -17,13 +16,14 @@
# Runas alias specification # Runas alias specification
# User privilege specification # User privilege specification
root ALL=(ALL) ALL root ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands # 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 # Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL # %wheel ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples # Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom