Bug 1884 - SSH login using password causes problem for NFS mounted home
Summary: SSH login using password causes problem for NFS mounted home
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 5.8p1
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 12:57 AEDT by Bitman Zhou
Modified: 2015-08-11 23:05 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bitman Zhou 2011-03-29 12:57:18 AEDT
We are using auto mounted NFS home folders using NFS v3 and Kerberos on Mac OS X 10.6. This works nicely except when you login using SSH and authenticate using password. The problem is that sshd is trying to access the file system before it has a valid Kerberos ticket and therefore it fails to mount the home folder. After some debug, we find sshd calls check_quietlogin() which will stat $HOME/.hushlogin before calling do_pam_setcred().

Is there any workaround to bypass quietlogin checking? I cannot find any. Or please add an option for this purpose. Thanks a lot.
Comment 1 Damien Miller 2011-04-12 15:26:29 AEST
So what is the actual problem? It tries to access a file that resides on a fs that isn't mounted and ... ?
Comment 2 Darren Tucker 2015-06-05 13:35:43 AEST
We can't help if we don't know what it does....
Comment 3 Damien Miller 2015-08-11 23:05:37 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1