UCF STIG Viewer Logo

The SLES for vRealize must enforce a minimum 15-character password length.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239503 VROM-SL-000405 SV-239503r661960_rule Medium
Description
The shorter the password, the lower the number of possible combinations that need to be tested before the password is compromised. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. Password length is one factor of several that helps to determine strength and how long it takes to crack a password. Use of more characters in a password helps to exponentially increase the time and/or resources required to compromise the password.
STIG Date
VMware vRealize Operations Manager 6.x SLES Security Technical Implementation Guide 2021-07-01

Details

Check Text ( C-42736r661958_chk )
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.
Fix Text (F-42695r661959_fix)
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