SV-230766r599842_rule
V-230766
SRG-OS-000163-GPOS-00072
APPL-11-000053
CAT II
10
To ensure that "LoginGraceTime" is configured correctly, run the following command:
/usr/bin/sudo /usr/bin/sed -i.bak 's/.*LoginGraceTime.*/LoginGraceTime 30/' /etc/ssh/sshd_config
The SSH daemon "LoginGraceTime" must be set correctly. To check the amount of time that a user can log on through SSH, run the following command:
/usr/bin/grep ^LoginGraceTime /etc/ssh/sshd_config
If the value is not set to "30" or less, this is a finding.
V-230766
False
APPL-11-000053
The SSH daemon "LoginGraceTime" must be set correctly. To check the amount of time that a user can log on through SSH, run the following command:
/usr/bin/grep ^LoginGraceTime /etc/ssh/sshd_config
If the value is not set to "30" or less, this is a finding.
M
5246