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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.