Any password, no matter how complex, can eventually be cracked. Therefore, passwords must be changed periodically. If the operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the operating system passwords could be compromised.
Check
Verify RHEL 10 enforces a 60-day maximum time period for existing user account passwords with the following commands: