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.

CompTIA Linux+ XK0-005
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $45
Bash, the Crucial Exams Chat Bot
AI Bot