RHEL-10-600460 - RHEL 10 must not have accounts configured with blank or null passwords.

Information

If an account has an empty password, anyone could log in and run commands with the privileges of that account. Accounts with empty passwords should never be used in operational environments.

Solution

Configure RHEL 10 so that all accounts have a password, or lock the account with the following commands:

Perform a password reset:

$ sudo passwd [username]

To lock an account:

$ sudo passwd -l [username]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_10_V1R1_STIG.zip