SV-99127r1_rule
V-88477
SRG-OS-000078-GPOS-00046
VROM-SL-000405
CAT II
10
If "minlen" was not set at all in "/etc/pam.d/common-password-vmware.local" file then run the following command:
# sed -i '/pam_cracklib.so/ s/$/ minlen=15/' /etc/pam.d/common-password-vmware.local
If "minlen" was set incorrectly, run the following command to set it to "15":
# sed -i '/pam_cracklib.so/ s/minlen=../minlen=15/' /etc/pam.d/common-password-vmware.local
Verify that SLES for vRealize enforces a minimum 15-character password length, by running the following command:
# grep pam_cracklib /etc/pam.d/common-password-vmware.local
# grep pam_cracklib /etc/pam.d/common-password
If the result does not contain "minlen=15" or higher, this is a finding.
V-88477
False
VROM-SL-000405
Verify that SLES for vRealize enforces a minimum 15-character password length, by running the following command:
# grep pam_cracklib /etc/pam.d/common-password-vmware.local
# grep pam_cracklib /etc/pam.d/common-password
If the result does not contain "minlen=15" or higher, this is a finding.
M
3461