STIGUI
V-258821CAT II — Medium severitySV-258821r1264149_rule

The Photon operating systems must enforce a 90-day maximum password lifetime restriction.

Rule version PHTN-40-000042 · STIG v2 · 2026-08-26

Discussion

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

Check

At the command line, run the following command to verify a 180-day maximum password lifetime restriction:

# grep '^PASS_MAX_DAYS' /etc/login.defs

If "PASS_MAX_DAYS" is not set to <= 180, is missing or commented out, this is a finding. If "PASS_MAX_DAYS" is disabled or set to -1, this is a finding.

Fix

Navigate to and open:

/etc/login.defs

Add or update the following line:

PASS_MAX_DAYS 180

Identifiers

Group ID
V-258821
Group title
SRG-OS-000076-GPOS-00044
Rule ID
SV-258821r1264149_rule
Check ID
C-62561r1264147_chk
Fix ID
F-62470r1264148_fix