UCF STIG Viewer Logo

SLES for vRealize must enforce a 60-day maximum password lifetime restriction.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239499 VROM-SL-000385 SV-239499r661948_rule Medium
Description
Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If SLES for vRealize does not limit the lifetime of passwords and force users to change their passwords, there is the risk that SLES for vRealize passwords could be compromised.
STIG Date
VMware vRealize Operations Manager 6.x SLES Security Technical Implementation Guide 2021-07-01

Details

Check Text ( C-42732r661946_chk )
To check that SLES for vRealize enforces a "60" days or less maximum password age, run the following command:

# grep PASS_MAX_DAYS /etc/login.defs | grep -v "#"

The DoD requirement is "60" days or less (Greater than zero, as zero days will lock the account immediately).

If "PASS_MAX_DAYS" is not set to the required value, this is a finding.
Fix Text (F-42691r661947_fix)
To configure SLES for vRealize to enforce a "60" day or less maximum password age, edit the file "/etc/login.defs" and add or correct the following line. Replace [DAYS] with the appropriate amount of days.

# sed -i "/^[^#]*PASS_MAX_DAYS/ c\PASS_MAX_DAYS 60" /etc/login.defs

The DoD requirement is "60" days or less (Greater than zero, as zero days will lock the account immediately).