RHEL-08-020330 - RHEL 8 must not allow accounts configured with blank or null 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

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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-230380r1017191_rule, STIG-ID|RHEL-08-020330, Vuln-ID|V-230380

Plugin: Unix

Control ID: 812d621a90193babb036cdad8d837cd566b420fa0f411153921ec01a9d28d7b7