CompTIA Linux+ XK0-005 Practice Question

A Linux system administrator wants to enforce strong password policies on the system. They plan to implement password complexity requirements that include a minimum length of 10 characters, at least one uppercase and one lowercase letter, and at least one digit or special character. Which of the following tools should the administrator configure to meet these requirements?

  • Edit the /etc/login.defs file to include the minimum length password requirement without parameters for complexity.

  • Configure the PAM module pam_pwquality.so to include password strength requirements in /etc/security/pwquality.conf or similar.

  • Use the chage command to set password expiration and enforce the new strong password policy.

  • Use the passwd command to enforce stronger passwords when users change their passwords next time.

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