Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Why does running pwck show so many directories don't exist?

Writer Sophia Terry

I ran the pwck command in an Ubuntu 16.04 64 bit VM. The output was that the directories for many users do not exist:

pwck output

I see that there are many users without a directory, and most of them look like system users. I get why /nonexistent doesn't exist, but what about the others? Should I be adding them?

1 Answer

Each of these userids is used for owning server processes, and NEVER logs in interactively. Therefore, no need for a $HOME directory. You'll also notice that these userids have strange shells, like /bin/false. Read man 5 passwd

8

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy