TOSS must not allow accounts configured with blank or null passwords.
An XCCDF Rule
Description
If an account has an empty password, anyone could log on and run commands with the privileges of that account. Accounts with empty passwords should never be used in operational environments.
- ID
- SV-252966r991589_rule
- Version
- TOSS-04-020270
- Severity
- High
- References
- Updated
Remediation Templates
A Manual Procedure
Edit the following line in "etc/ssh/sshd_config" to prevent logons with empty passwords.
PermitEmptyPasswords no
The SSH daemon must be restarted for the changes to take effect. To restart the SSH daemon, run the following command:
$ sudo systemctl restart sshd.service