Bug 1884

Summary: SSH login using password causes problem for NFS mounted home
Product: Portable OpenSSH Reporter: Bitman Zhou <bitman.zhou>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: normal CC: djm, dtucker
Priority: P2    
Version: 5.8p1   
Hardware: All   
OS: All   

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