STIGUI
V-230364CAT II — Medium severitySV-230364r1017176_rule

RHEL 8 passwords must have a 24 hours/1 day minimum password lifetime restriction in /etc/shadow.

Rule version RHEL-08-020180 · STIG v2 · 2026-05-20

Discussion

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, the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.

Check

Check whether the minimum time period between password changes for each user account is one day or greater.

$ sudo awk -F: '$4 < 1 {print $1 " " $4}' /etc/shadow

If any results are returned that are not associated with a system account, this is a finding.

Fix

Configure non-compliant accounts to enforce a 24 hours/1 day minimum password lifetime:

$ sudo chage -m 1 [user]

Identifiers

Group ID
V-230364
Group title
SRG-OS-000075-GPOS-00043
Rule ID
SV-230364r1017176_rule
Check ID
C-33033r567838_chk
Fix ID
F-33008r567839_fix