Created attachment 1457 [details] Temp homedir patch On hosts with nfs homedirs, it can be useful to have an option of not using your real $HOME from time to time. I've put together a patch which allows a client to request a temp homedir using the option RequestTempHomedir. On the server, I've added a PermitTempHomedir option to allow this feature. It can also be triggered selectively using a Match directive.
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.
[spam deleted]