The system must require passwords to contain no more than three consecutive repeating characters.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| low | V-216096 | SRG-OS-000480 | SOL-11.1-040110 | SV-216096r959010_rule | 2026-02-19 | 3 |
Description
Complex passwords can reduce the likelihood of success of automated password-guessing attacks.
ℹ️ Check
Check the MAXREPEATS setting.
# grep ^MAXREPEATS /etc/default/passwd
If the MAXREPEATS setting is greater than 3, this is a finding.
✔️ Fix
The root role is required.
# pfedit /etc/default/passwd
Locate the line containing:
MAXREPEATS
Change the line to read:
MAXREPEATS=3