Security
During a quarterly audit, an administrator compares the password hashes of local users against a breached-password list. The password for the account jlopez matches an entry on the list. Which action BEST addresses the exposure right away?
Show the answer
Correct answerC. Run chage -d 0 jlopez so a new password must be set at next login
chage -d 0 sets the last-change date to epoch, which forces jlopez to choose a new password at next login. Editing PASS_MAX_DAYS in /etc/login.defs only affects accounts created afterward and does not expire existing passwords; pwck only verifies file integrity.