UCF STIG Viewer Logo

The SLES for vRealize must enforce password complexity by requiring that at least one special character be used.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239585 VROM-SL-000900 SV-239585r662206_rule Medium
Description
Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity or strength is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. Password complexity is one factor in determining how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. Special characters are those characters that are not alphanumeric. Examples include: ~ ! @ # $ % ^ *.
STIG Date
VMware vRealize Operations Manager 6.x SLES Security Technical Implementation Guide 2021-07-01

Details

Check Text ( C-42818r662204_chk )
Verify SLES for vRealize enforces password complexity by requiring that at least one special character be used by using the following command:

Check the password "ocredit" option:

# grep pam_cracklib.so /etc/pam.d/common-password

Confirm the "ocredit" option is set to "-1" as in the example:

password requisite pam_cracklib.so ocredit=-1

There may be other options on the line.

If no such line is found, or the "ocredit" is not "-1", this is a finding.
Fix Text (F-42777r662205_fix)
Configure SLES for vRealize to enforce password complexity by requiring that at least one special character be used by running the following command:

If "ocredit" 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/$/ ocredit=-1/' /etc/pam.d/common-password-vmware.local

If "ocredit" was set incorrectly, run the following command:

# sed -i '/pam_cracklib.so/ s/ocredit=../ocredit=-1/' /etc/pam.d/common-password-vmware.local