STIGUI
V-248696CAT II — Medium severitySV-248696r1261631_rule

OL 8 user account passwords must have a 180-day maximum password lifetime restriction.

Rule version OL08-00-020200 · STIG v2 · 2026-08-24

Discussion

Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If OL 8 does not limit the lifetime of passwords and force users to change their passwords, there is the risk that OL 8 passwords could be compromised.

Check

Verify OL 8 enforces a 180-day maximum password lifetime for new user accounts by running the following command:

$ grep PASS_MAX_DAYS /etc/login.defs

PASS_MAX_DAYS 180

If the "PASS_MAX_DAYS" parameter value is greater than "180", is not set, or is commented out, this is a finding.

Fix

Configure OL 8 to enforce a 180-day maximum password lifetime.

Modify the "/etc/login.defs" file to set the "PASS_MAX_DAYS" parameter to 180 or greater:

PASS_MAX_DAYS 180

Identifiers

Group ID
V-248696
Group title
SRG-OS-000076-GPOS-00044
Rule ID
SV-248696r1261631_rule
Check ID
C-52130r1261629_chk
Fix ID
F-52084r1261630_fix