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

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-258821SRG-OS-000076-GPOS-00044PHTN-40-000042SV-258821r1003636_rule2024-07-112
Description
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 90-day maximum password lifetime restriction: # grep '^PASS_MAX_DAYS' /etc/login.defs If "PASS_MAX_DAYS" is not set to <= 90, 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 90