The Photon operating system must enforce one day as the minimum password lifetime.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-258820 | SRG-OS-000075-GPOS-00043 | PHTN-40-000041 | SV-258820r1003634_rule | 2024-07-11 | 2 |
Description
Enforcing a minimum password lifetime helps to prevent repeated password changes to defeat the password reuse or history enforcement requirement. If users are allowed to immediately and continually change their password, then the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.
ℹ️ Check
At the command line, run the following command to verify one day as the minimum password lifetime:
# grep '^PASS_MIN_DAYS' /etc/login.defs
If "PASS_MIN_DAYS" is not set to 1, is missing or commented out, this is a finding.
✔️ Fix
Navigate to and open:
/etc/login.defs
Add or update the following line:
PASS_MIN_DAYS 1