]> granicus.if.org Git - sudo/commitdiff
PATH is also preserved when env_reset is in effect
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 30 Dec 2000 03:45:31 +0000 (03:45 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 30 Dec 2000 03:45:31 +0000 (03:45 +0000)
sudoers.cat
sudoers.man.in
sudoers.pod

index 1dbf2464bbac5811d0ca47efd21f9d6385ee7152..93687db75cbc861758374114902a3ed8f224be69 100644 (file)
@@ -453,7 +453,7 @@ sudoers(4)             MAINTENANCE COMMANDS            sudoers(4)
        env_reset   If set, s\bs\bs\bsu\bu\bu\bud\bd\bd\bdo\bo\bo\bo will reset the environment to
                    only contain the following variables: `HOME',
                    `SHELL', `LOGNAME', and `USER' (in addition to
-                   the `SUDO_*' variables).  The `PATH'
+                   the `SUDO_*' variables).  The `PATH' and
 
 
 
@@ -466,9 +466,9 @@ December 29, 2000             1.6.4                             7
 sudoers(4)             MAINTENANCE COMMANDS            sudoers(4)
 
 
-                   environment variable is preserved unaltered.
-                   Other specific variables may be preserved with
-                   the i<env_keep> option.
+                   `TERM' environment variables are preserved
+                   unaltered.  Other specific variables may be
+                   preserved with the i<env_keep> option.
 
        use_loginclass
                    If set, s\bs\bs\bsu\bu\bu\bud\bd\bd\bdo\bo\bo\bo will apply the defaults specified
index d47026f54dce66de29a69409592b13752253f6b1..47a3f23e0fab4b1955e6b0d61752ad15912b0f15 100644 (file)
@@ -1,5 +1,5 @@
 .\" Automatically generated by Pod::Man version 1.04
-.\" Fri Dec 29 20:29:02 2000
+.\" Fri Dec 29 20:44:35 2000
 .\"
 .\" Standard preamble:
 .\" ======================================================================
@@ -497,8 +497,8 @@ dangerous functionality when a program is run setuid.
 .IX Item "env_reset"
 If set, \fBsudo\fR will reset the environment to only contain the
 following variables: \f(CW\*(C`HOME\*(C'\fR, \f(CW\*(C`SHELL\*(C'\fR, \f(CW\*(C`LOGNAME\*(C'\fR, and \f(CW\*(C`USER\*(C'\fR
-(in addition to the \f(CW\*(C`SUDO_*\*(C'\fR variables).  The \f(CW\*(C`PATH\*(C'\fR environment
-variable is preserved unaltered.  Other specific variables
+(in addition to the \f(CW\*(C`SUDO_*\*(C'\fR variables).  The \f(CW\*(C`PATH\*(C'\fR and \f(CW\*(C`TERM\*(C'\fR
+environment variables are preserved unaltered.  Other specific variables
 may be preserved with the i<env_keep> option.
 .Ip "use_loginclass" 12
 .IX Item "use_loginclass"
index b43d0deae3d82a9ff8a5b9a6cb462493c8f53a3e..7dd719c9647b21140eb91ef068328e7230cbc70d 100644 (file)
@@ -411,8 +411,8 @@ dangerous functionality when a program is run setuid.
 
 If set, B<sudo> will reset the environment to only contain the
 following variables: C<HOME>, C<SHELL>, C<LOGNAME>, and C<USER>
-(in addition to the C<SUDO_*> variables).  The C<PATH> environment
-variable is preserved unaltered.  Other specific variables
+(in addition to the C<SUDO_*> variables).  The C<PATH> and C<TERM>
+environment variables are preserved unaltered.  Other specific variables
 may be preserved with the i<env_keep> option.
 
 =item use_loginclass