Check: RHEL-09-611080
RHEL 9 STIG:
RHEL-09-611080
(in versions v1 r3 through v1 r1)
Title
RHEL 9 passwords must have a 24 hours minimum password lifetime restriction in /etc/shadow. (Cat II impact)
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 Content
Verify that RHEL 9 has configured the minimum time period between password changes for each user account as one day or greater with the following command: $ 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 Text
Configure noncompliant accounts to enforce a 24 hour minimum password lifetime: $ sudo passwd -n 1 [user]
Additional Identifiers
Rule ID: SV-258105r926302_rule
Vulnerability ID: V-258105
Group Title: SRG-OS-000075-GPOS-00043
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000198 |
The information system enforces minimum password lifetime restrictions. |
Controls
Number | Title |
---|---|
IA-5 (1) |
Password-Based Authentication |