Ensure PAM Enforces Password Requirements - Authentication Retry Prompts Permitted Per-Session
An XCCDF Rule
Description
To configure the number of retry prompts that are permitted per-session: Edit thepam_pwquality.so
statement in
/etc/pam.d/system-auth
to show
retry=
, or a lower value if site
policy is more restrictive. The DoD requirement is a maximum of 3 prompts
per session.
Rationale
Setting the password retry prompts that are permitted on a per-session basis to a low value requires some software, such as SSH, to re-connect. This can slow down and draw additional attention to some types of password-guessing attacks. Note that this is different from account lockout, which is provided by the pam_faillock module.
- ID
- xccdf_org.ssgproject.content_rule_accounts_password_pam_retry
- Severity
- Medium
- References
- Updated