SV-216352r603267_rule
V-216352
SRG-OS-000480
SOL-11.1-040340
CAT III
10
The root role is required.
Modify the sshd_config file.
# pfedit /etc/ssh/sshd_config
Locate the line containing:
MaxAuthTries
Change it to:
MaxAuthTries 6
Restart the SSH service.
# svcadm restart svc:/network/ssh
Note: Solaris SSH MaxAuthTries of 6 maps to 3 actual failed attempts.
Determine if consecutive login attempts are limited to 3.
# grep "^MaxAuthTries" /etc/ssh/sshd_config | grep -v Log
If the output of this command is not:
MaxAuthTries 6
this is a finding.
Note: Solaris SSH MaxAuthTries of 6 maps to 3 actual failed attempts.
V-216352
False
SOL-11.1-040340
Determine if consecutive login attempts are limited to 3.
# grep "^MaxAuthTries" /etc/ssh/sshd_config | grep -v Log
If the output of this command is not:
MaxAuthTries 6
this is a finding.
Note: Solaris SSH MaxAuthTries of 6 maps to 3 actual failed attempts.
M
4022