CompTIA Linux+ XK0-006 (V8) Practice Question

A Linux administrator is hardening user account security and wants to prevent users from selecting passwords that have previously been exposed in public data breaches. The new policy must be enforced automatically whenever a user attempts to change their password. Which of the following methods best achieves this specific goal?

  • Schedule a cron job to run john against /etc/shadow to find and report weak passwords.

  • Implement a PAM module that validates new passwords against a database of known breached passwords.

  • Use the pam_pwhistory module to prevent users from reusing their last ten passwords.

  • Configure pam_tally2 to lock out accounts that use a password from a monitored list.

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

Bash, the Crucial Exams Chat Bot
AI Bot