Find bob

Skybear

Active Member
Joined
Mar 7, 2026
Messages
193
Reaction score
151
Credits
1,525
I was following instructions in a course run by Jay LaCroix and created a user named ‘bob’.

When I typed the command
CSS:
cat /etc/passwd
, I got the following for bob:
Code:
bob:x:1001:1001::/home/bob:/bin/sh

So, bob’s profile should be found in the /home directory. But when I go there all I find is this:
.
..
skybear
 


I was following instructions in a course run by Jay LaCroix and created a user named ‘bob’.

When I typed the command
CSS:
cat /etc/passwd
, I got the following for bob:
Code:
bob:x:1001:1001::/home/bob:/bin/sh

So, bob’s profile should be found in the /home directory. But when I go there all I find is this:
.
..
skybear
AFAIK, home directory will not be created automatically by adding a new user in /etc/passwd file. You can create it manually, or log in that user and check, not sure if GUI desktop environment will create it on login attempt.
 
I remember that after creating a file, I had reload the database before the file would definitely appear. Is there a file here that I could reload to do that too? If not, no worries. At least I know where I can see all users.
 
You found him.
1781529929225.gif
 
Which command did you use to make the user?

You can create a new user without a home directory, which is why I posted this.

 


Follow Linux.org

Members online


Latest posts

Top