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

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-269408ALMA-09-038300SV-269408r1050291_ruleCCI-000198medium
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.
STIGDate
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide2025-05-22

Details

Check Text (C-269408r1050291_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