OL09-00-002343 - OL 9 SSHD must not allow blank passwords.

Information

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.

Solution

Configure OL 9 to prevent SSH users from logging on with blank passwords by editing the following line in "/etc/ssh/sshd_config" or in a file in "/etc/ssh/sshd_config.d":

PermitEmptyPasswords no

Restart the SSH daemon for the settings to take effect:

$ sudo systemctl restart sshd.service

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2(2), CAT|I, CCI|CCI-000766, Rule-ID|SV-271706r1091830_rule, STIG-ID|OL09-00-002343, Vuln-ID|V-271706

Plugin: Unix

Control ID: 1b891a3bff6a02c8e71a2f033d592a1a27cea6c5cf4fa190bb922c12ec1e1c22