Information
RHEL 10 must enforce that passwords have a 24 hours/1 day minimum lifetime restriction in "/etc/shadow".
GROUP ID: V-281186RULE ID: SV-281186r1184622
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 for password reuse.
Solution
Configure RHEL 10 so that noncompliant accounts enforce a 24 hours/1 day minimum password lifetime:
$ sudo passwd -n 1 [user]