DISA STIGS Viewer

Passwords for new users or password changes must have a 24-hour minimum password lifetime restriction in /etc/login.defs.

Overview

Finding ID Version Rule ID IA Controls Severity
V-269408 ALMA-09-038300 SV-269408r1050291_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, then the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.
STIG Date
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide 2025-05-22

Details

Check Text (C-73439r1049649_chk)
Verify AlmaLinux OS 9 enforces 24 hours as the minimum password lifetime for new user accounts with the following command:

$ grep PASS_MIN_DAYS /etc/login.defs

PASS_MIN_DAYS 1

If the value of "PASS_MIN_DAYS" is less than "1", is not set, or is commented out, this is a finding.
Fix Text (F-73340r1049650_fix)
Configure AlmaLinux OS 9 to enforce 24 hours as the minimum password lifetime.

Modify the "/etc/login.defs" file to set the "PASS_MIN_DAYS" parameter to 1 or greater:

PASS_MIN_DAYS 1