| Summary: | Feature request: Add ability to override $HOME with a temp location | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Niall Sheridan <nsheridan> | ||||
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | NEW --- | ||||||
| Severity: | minor | CC: | hoffman9417calvin, tylercashea33, zbinyakov | ||||
| Priority: | P2 | ||||||
| Version: | -current | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
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] |
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.