Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If Amazon Linux 2023 does not limit the lifetime of passwords and force users to change their passwords, there is the risk that Amazon Linux 2023 passwords could be compromised.
Check
Verify Amazon Linux 2023 enforces the maximum time period for existing passwords is restricted to 60 days with the following commands: