From: Todd C. Miller Date: Sun, 8 Jul 2007 13:17:59 +0000 (+0000) Subject: add SETENV tag X-Git-Tag: SUDO_1_7_0~502 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b70cf25a3527a423c18f59e79976282ea5ec2193;p=sudo add SETENV tag --- diff --git a/sudoers b/sudoers index e9028929c..bb42f2bc4 100644 --- a/sudoers +++ b/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