When login with user account using ssh to the server, the user's home directory is not changed.
Issue
- User's home directory is set to
/test/user. - When login with user account using ssh to the server, the user's home directory could not changed to
/test/user. -
Getting following errors on the terminal:
[root@example ~]# ssh -X user@example user@example password: Could not chdir to home directory /test/user: Permission denied /usr/bin/xauth: timeout in locking authority file /test/user/.Xauthority
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.