1.203 OL09-00-001130

Information

OL 9 must not have accounts configured with blank or null passwords.

GROUP ID: V-271638
RULE ID: SV-271638r1091626

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 OL 9 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://workbench.cisecurity.org/benchmarks/27024