SV-239162r675294_rule
V-239162
SRG-OS-000480-GPOS-00227
PHTN-67-000091
CAT II
10
Open /etc/ssh/sshd_config with a text editor.
Ensure that the "PrintLastLog" line is uncommented and set to the following:
PrintLastLog yes
At the command line, execute the following command:
# service sshd reload
At the command line, execute the following command:
# sshd -T|&grep -i PrintLastLog
Expected result:
PrintLastLog yes
If the output does not match the expected result, this is a finding.
V-239162
False
PHTN-67-000091
At the command line, execute the following command:
# sshd -T|&grep -i PrintLastLog
Expected result:
PrintLastLog yes
If the output does not match the expected result, this is a finding.
M
5323