From b70cf25a3527a423c18f59e79976282ea5ec2193 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 8 Jul 2007 13:17:59 +0000 Subject: [PATCH] add SETENV tag --- sudoers | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.40.0