CompTIA Linux+ XK0-005 Practice Question
A new junior system administrator has been tasked with reviewing user accounts on a vital Linux server. While inspecting the /etc/passwd file, they noticed an account entry that does not have a corresponding /home directory. Which of the following are potential explanations for this situation?
The user associated with the account has been assigned to an incorrect group, which is why the home directory is missing.
The account has an expired password and, therefore, the home directory was removed automatically.
The account is intended for a system service or process and is not designed for regular user login activities.
The account's default shell is set to
/usr/sbin/nologin
, which implies that no home directory was created when the account was added.