0

I was looking at the list of created users in /etc/passwd. There are about 10 users, who show up like this in the list in /etc/passwd:

user1:x:500:500::/home/user1:bin/bash
user2:x:501:501::/home/user2:bin/bash

However, when I navigate to /home, there are only 3 of the 10 users with home directories. Does anyone know why there is this discrepancy?

1
  • 2
    Well, it's possible to create a user without creating their home directory (-M to useradd) so it's not indicative of a problem per se Dec 4, 2015 at 21:10

1 Answer 1

2

The home dirs were never created for the other users. Try the command mkhomedir_helper <username>

1
  • Ok, so even though it appears as though they have home directories created in /etc/passwd, the user who created the accounts may have specified not to create home directories? Is that correct? Dec 4, 2015 at 21:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .