📖 ~1 min read
Table of contents
Symptom & Impact
Valid users are locked frequently, increasing support load and login failures.
Environment & Reproduction
Appears after auth policy hardening with low deny threshold values.
authselect current
faillock --user admin
cat /etc/security/faillock.conf
Root Cause Analysis
Overly strict lockout settings and long unlock windows create false positive lockouts.
Quick Triage
Review current lockout counters and policy parameters.
faillock --all
grep -E 'deny|unlock_time|fail_interval' /etc/security/faillock.conf
Step-by-Step Diagnosis
Validate authselect profile and overridden PAM stack files.
authselect check
grep -R pam_faillock /etc/pam.d -n

Solution – Primary Fix
Tune lockout settings and apply profile updates.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sed -i 's/^deny=.*/deny=5/' /etc/security/faillock.conf
sed -i 's/^unlock_time=.*/unlock_time=900/' /etc/security/faillock.conf
authselect apply-changes

Solution – Alternative Approaches
Use group based exception policy for service accounts.
faillock --user svc_account --reset
Verification & Acceptance Criteria
Legitimate login attempts succeed while brute force protection remains active.
faillock --user admin
loginctl list-sessions
Rollback Plan
Restore previous faillock configuration if policy changes conflict with compliance.
cp -a /root/faillock.conf.bak /etc/security/faillock.conf
authselect apply-changes
Prevention & Hardening
Review lockout telemetry and adjust thresholds by risk profile.
journalctl -u sshd --since yesterday | grep -i 'Failed password' | wc -l
Related Errors & Cross-Refs
Related to MFA desynchronization and directory service latency.
Related tutorial: View the step-by-step tutorial for oracle-linux-10.
View all oracle-linux-10 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Oracle Linux PAM, authselect, and account lockout guidance.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.