Yesterday i added a local user to vSphere 4 host with the vSphere client.
I forgot the ‘shell access’ box. After that i enabled the box for shell access, when logging in, the home directory did not exist.
Solution for this:
cd /home
mkdir username
chown username dirname
chmod 700 dirname