SV-215302r508663_rule
V-215302
SRG-OS-000480-GPOS-00229
AIX7-00-002120
CAT II
10
Edit "/etc/ssh/sshd_config" and add or edit the "PermitEmptyPasswords " line as:
PermitEmptyPasswords no
Save the change and restart ssh daemon:
# stopsrc -s sshd
# startsrc -s sshd
Check the SSH daemon configuration for allowed empty passwords using command:
# grep -i PermitEmptyPasswords /etc/ssh/sshd_config | grep -v '^#'
PermitEmptyPasswords no
If no lines are returned, or the returned "PermitEmptyPasswords" directive contains "yes", this is a finding.
V-215302
False
AIX7-00-002120
Check the SSH daemon configuration for allowed empty passwords using command:
# grep -i PermitEmptyPasswords /etc/ssh/sshd_config | grep -v '^#'
PermitEmptyPasswords no
If no lines are returned, or the returned "PermitEmptyPasswords" directive contains "yes", this is a finding.
M
4012