Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    User gets the wrong home directory


    Hello everyone

    I'm facing a strange problem with a user account. We are still using NIS for authentication and when users login and open a terminal their home directory defaults to /s/home/uclba1...uclba200.

    One particular user however, when she logs in, opens a terminal and types echo $HOME the shell returns / instead of /s/home/ucla1.

    Does anyone have any ideas why this is happening?

    Thank you

  2. #2
    Linux User
    Join Date
    Dec 2017
    Location
    Argentina
    Posts
    271
    -->
    Maybe it was created without a home directory?
    How was the user created?
    Check
    Code:
     man useradd
    And check the -m argument.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •