[Bug 1442] Feature request: Add ability to override $HOME with a temp location

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Apr 17 04:30:21 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=1442

Alexey Zbinyakov <zbinyakov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zbinyakov at gmail.com
           Severity|enhancement                 |minor

--- Comment #1 from Alexey Zbinyakov <zbinyakov at gmail.com> 2012-04-17 04:30:21 EST ---
I think it should be allowed always to use $HOME, according to
getpwnam(3):

"An  application  that  wants  to  determine  its  user's  home 
directory  should  inspect  the  value  of  HOME  (rather than the
value getpwuid(getuid())->pw_dir) since this allows the user to modify
their notion of "the home directory" during a login session."

I see no reason to get initial homedir.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list