When login with user account using ssh to the server, the user's home directory is not changed.

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content