SV-209029r603263_rule
V-209029
SRG-OS-000480
OL6-00-000299
CAT III
10
The pam_cracklib module's ”maxrepeat” parameter controls requirements for consecutive repeating characters. When set to a positive number, it will reject passwords that contain more than the number of consecutive characters.
Edit /etc/pam.d/system-auth and /etc/pam.d/password-auth adding "maxrepeat=3" after pam_cracklib.so to prevent a run of (3 + 1) or more identical characters.
password required pam_cracklib.so maxrepeat=3
To check the maximum value for consecutive repeating characters, run the following command:
$ grep pam_cracklib /etc/pam.d/system-auth /etc/pam.d/password-auth
Look for the value of the "maxrepeat" parameter. The DoD requirement is “3”.
If "maxrepeat" is not found, is set to zero, or is set to a value greater than “3”, this is a finding.
V-209029
False
OL6-00-000299
To check the maximum value for consecutive repeating characters, run the following command:
$ grep pam_cracklib /etc/pam.d/system-auth /etc/pam.d/password-auth
Look for the value of the "maxrepeat" parameter. The DoD requirement is “3”.
If "maxrepeat" is not found, is set to zero, or is set to a value greater than “3”, this is a finding.
M
2928