]> granicus.if.org Git - sudo/commitdiff
add SETENV tag
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Jul 2007 13:17:59 +0000 (13:17 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Jul 2007 13:17:59 +0000 (13:17 +0000)
sudoers

diff --git a/sudoers b/sudoers
index e9028929cb24491114d2470883b5344359c3ac35..bb42f2bc4d6afd73034b87711e3e290cf1d7ca2a 100644 (file)
--- 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
 
 # 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