DISA STIGS Viewer

OL 9 passwords must have a 24-hour minimum password lifetime restriction in /etc/shadow.

Overview

Finding ID Version Rule ID IA Controls Severity
V-271630 OL09-00-001090 SV-271630r1091602_rule   Medium
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, the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75680r1091600_chk)
Verify that OL 9 has configured the minimum time period between password changes for each user account as 24 hours 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 (F-75587r1091601_fix)
Configure noncompliant accounts to enforce a 24-hour minimum password lifetime:

$ sudo passwd -n 1 [user]