SLEM 5 must be configured to create or update passwords with a maximum lifetime of 60 days.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-261395SRG-OS-000076-GPOS-00044SLEM-05-611100SV-261395r996607_rule2024-06-041
Description
Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If SLEM 5 does not limit the lifetime of passwords and force users to change their passwords, there is the risk that SLEM 5 passwords could be compromised.
ℹ️ Check
Verify that SLEM 5 is configured to create or update passwords with a maximum password age of 60 days or less with the following command: > grep '^PASS_MAX_DAYS' /etc/login.defs If "PASS_MAX_DAYS" is not set to a value of "60" or less, but greater than "0", the line is commented out, or no line is returned, this is a finding.
✔️ Fix
Configure SLEM 5 to enforce a maximum password age of 60 days or less. Add or modify the following line in the "/etc/login.defs" file: PASS_MAX_DAYS <days> The DOD requirement is 60 days or less (but greater than zero, as zero days will lock the account immediately).