STIGUI
V-261395CAT II — Medium severitySV-261395r1262241_rule

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

Rule version SLEM-05-611100 · STIG v1 · 2026-08-20

Discussion

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 180 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 "180" 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 180 days or less.

Add or modify the following line in the "/etc/login.defs" file:

PASS_MAX_DAYS <days>

The DoW requirement is 180 days or less (but greater than zero, as zero days will lock the account immediately).

Identifiers

Group ID
V-261395
Group title
SRG-OS-000076-GPOS-00044
Rule ID
SV-261395r1262241_rule
Check ID
C-65124r1262239_chk
Fix ID
F-65032r1262240_fix