After restoring a vCenter Server from a file-based backup, logging in as a user other than root may result in the following error message:
Could not chdir to home directory /home/<LocalUserName>: No such file or directory
VMware vCenter Server
When restoring using a file-based backup, manually added local users are restored, but their directories are not restored.
Workaround:
Recreate the user directory. Log in as root and run the following in a BASH shell:
# mkdir /home/<username>
# chown <username>:users /home/<username>
# chmod 700 /home/<username>