SV-261380r996572_rule
V-261380
SRG-OS-000266-GPOS-00101
SLEM-05-611025
CAT II
10
Configure SLEM 5 to enforce password complexity by requiring at least one special character.
Edit "/etc/pam.d/common-password" and edit the line containing "pam_cracklib.so" to contain the option "ocredit=-1" after the third column.
Verify SLEM 5 enforces password complexity by requiring at least one special character with the following command:
> grep pam_cracklib.so /etc/pam.d/common-password
password requisite pam_cracklib.so ocredit=-1
If the value for "ocredit" is not "-1", if "ucredit" is missing from the line, the second column value different from "requisite", the line is commented out, or the line is missing, this is a finding.
V-261380
False
SLEM-05-611025
Verify SLEM 5 enforces password complexity by requiring at least one special character with the following command:
> grep pam_cracklib.so /etc/pam.d/common-password
password requisite pam_cracklib.so ocredit=-1
If the value for "ocredit" is not "-1", if "ucredit" is missing from the line, the second column value different from "requisite", the line is commented out, or the line is missing, this is a finding.
M
5596