on SSH login, get message 'Could not chdir to home directory"
Posted
by
joachim
on Server Fault
See other posts from Server Fault
or by joachim
Published on 2011-03-24T07:17:28Z
Indexed on
2012/09/22
3:40 UTC
Read the original article
Hit count: 965
I am SSHing into a Mac OS X server running Tiger.
When I log in I get put in the root directory and shown this message:
Could not chdir to home directory : No such file or directory
My $HOME variable seems to be empty. I've googled the problem and found a mailing list thread which suggests using dscl to set up the home directory, but I've done that and the problem still persists even though now dscl correctly reports:
$ dscl . -read /users/me NFSHomeDirectory NFSHomeDirectory: /Users/me
© Server Fault or respective owner