]> granicus.if.org Git - sudo/commitdiff
set_home and always_set_home have an effect if HOME is present in
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 9 Sep 2010 20:22:08 +0000 (16:22 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 9 Sep 2010 20:22:08 +0000 (16:22 -0400)
the env_keep list.

--HG--
branch : 1.7

sudoers.pod

index 798295ce60ae55845828c67ecbeae4d84dd2e18b..519984e1b913f2c1ee5b24bcec9cb913c05328ed 100644 (file)
@@ -598,7 +598,8 @@ home directory of the target user (which is root unless the B<-u>
 option is used).  This effectively means that the B<-H> option is
 always implied.  Note that C<HOME> is already set when the the
 I<env_reset> option is enabled, so I<always_set_home> is only
-effective for configurations where I<env_reset> is disabled.
+effective for configurations where either I<env_reset> is disabled
+or C<HOME> is present in the I<env_keep> list.
 This flag is I<off> by default.
 
 =item authenticate
@@ -822,7 +823,8 @@ environment variable will be set to the home directory of the target
 user (which is root unless the B<-u> option is used).  This effectively
 makes the B<-s> option imply B<-H>.  Note that C<HOME> is already
 set when the the I<env_reset> option is enabled, so I<set_home> is
-only effective for configurations where I<env_reset> is disabled.
+only effective for configurations where either I<env_reset> is disabled
+or C<HOME> is present in the I<env_keep> list.
 This flag is I<off> by default.
 
 =item set_logname