Linux SSH/PAM Login Rejected: Account Locked (pam_faillock)

Repeated failed authentication attempts triggered temporary PAM lockout.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: Linux SSH/PAM Login Rejected Platform: Linux
Common Root Causes:
  • Repeated failed authentication attempts triggered temporary PAM lockout.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Reset lockout with `faillock --user <username> --reset` and enforce SSH key-only auth.
Safe Diagnostic Command:
faillock --user <username>
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Repeated failed authentication attempts triggered temporary PAM lockout. Recommended diagnostic: `faillock --user <username>`. Remediation: Reset lockout with `faillock --user <username> --reset` and enforce SSH key-only auth.

Worked Examples

  • Run `faillock --user <username>` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-linux-pam-account-locked-faillock · Independently verified: 2026-11-25

Related Resources