Security
A server uses pam_tally2 to lock accounts after repeated failed logins. The user jsmith is locked out after mistyping a password several times and needs access restored immediately, without waiting for unlock_time to expire. Which command clears the failed-login counter for this user?
Show the answer
Correct answerB. pam_tally2 --user jsmith --reset
pam_tally2 --user jsmith --reset sets the failure count back to zero so the lockout ends. usermod -U only removes a password lock from the shadow entry and does not touch the tally. faillock is the tool for pam_faillock, not pam_tally2.