set_home and always_set_home have an effect if HOME is present in

the env_keep list.
This commit is contained in:
Todd C. Miller
2010-09-09 16:22:26 -04:00
parent 1b9ca115b7
commit b91a12988a

View File

@@ -698,7 +698,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 option is used). This effectively means that the B<-H> option is
always implied. Note that C<HOME> is already set when the the 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 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. This flag is I<off> by default.
=item authenticate =item authenticate
@@ -922,7 +923,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 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 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 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. This flag is I<off> by default.
=item set_logname =item set_logname