Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, I am new to linux and was going through some tutorials. When I created my first user, his dir shows up in /home, but when I created my ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    1

    adding users

    Hello everyone, I am new to linux and was going through some tutorials.

    When I created my first user, his dir shows up in /home, but when I created my 2nd and 3rd user, their directories dont show up in /home.

    Why is this? When I log in with the 2nd and 3rd user and it logs in and is functional but there is a message saying "No directory, logging in with HOME=/"

    Thanks in advance for the help.

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    adduser --home /path/to/home/dir username

    for an existing user you can use usermod

    usermod -d /path/to/home/dir username

Posting Permissions

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