login.conf has a option ``requirehome''. If this is set the users won't be able to login if /home is unmounted or the home is just removed. ssh doesn't care about this, but it should. Fix: N/A How-To-Repeat: # rm -rf ~user $ login user Home directory not available. $ ssh user@localhost Could not chdir to home directory /home/user: No such file or directory user$
Responsible Changed From-To: freebsd-ports->torstenb Over to port maintainer.
State Changed From-To: open->feedback I'm not sure, but I think your problem stems from an old ssh bug where it didn't care what the UseLogin configuration parameter was set to. Can anyone with the knowledge of ssh's history answer this?
Responsible Changed From-To: torstenb->kris Kris is now the SSH port maintainer.
State Changed From-To: feedback->closed I don't have intentions of writing patches to add this feature to the SSH port. OpenSSH seems to respect "requirehome", both the port and the version now in the base system. I suggest you use that if you haven't already made the transition by now.