SV-234896r622137_rule
V-234896
SRG-OS-000266-GPOS-00101
SLES-15-020270
CAT II
10
Configure the SUSE operating system 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 the SUSE operating system enforces password complexity by requiring at least one special character.
Check that the operating system enforces password complexity by requiring at least one special character using the following command:
> grep pam_cracklib.so /etc/pam.d/common-password
password requisite pam_cracklib.so ocredit=-1
If the command does not return anything, the returned line is commented out, or has a second column value different from "requisite", or does not contain "ocredit=-1", this is a finding.
V-234896
False
SLES-15-020270
Verify the SUSE operating system enforces password complexity by requiring at least one special character.
Check that the operating system enforces password complexity by requiring at least one special character using the following command:
> grep pam_cracklib.so /etc/pam.d/common-password
password requisite pam_cracklib.so ocredit=-1
If the command does not return anything, the returned line is commented out, or has a second column value different from "requisite", or does not contain "ocredit=-1", this is a finding.
M
5274