CompTIA Linux+ XK0-006 (V8) Practice Question

A system administrator is hardening a new Linux server and is auditing the default file permissions. They notice that while /etc/passwd is readable by all users, the /etc/shadow file is restricted to root access only. What is the primary purpose of the /etc/shadow file in a modern Linux system?

  • To serve as a template for new user home directories, containing default profile and configuration files.

  • To define the primary and supplementary group memberships for each user on the system.

  • To store system-wide environment variables and startup scripts that are executed for all users upon login.

  • To store sensitive user information, including hashed passwords and password expiration data, protecting it from non-privileged users.

CompTIA Linux+ XK0-006 (V8)
Services and User Management
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.

Bash, the Crucial Exams Chat Bot
AI Bot