SV-215185r508663_rule
V-215185
SRG-OS-000297-GPOS-00115
AIX7-00-001024
CAT III
10
Edit the "/etc/ssh/sshd_config" file to add or update the following line:
PrintLastLog yes.
Restart sshd service:
# stopsrc -s sshd
# startsrc -s sshd
Verify the SSH daemon is configured to display last login information using command:
# cat /etc/ssh/sshd_config | grep -i ^PrintLastLog
PrintLastLog yes
If "PrintLastLog" is not set to "yes", this is a finding.
V-215185
False
AIX7-00-001024
Verify the SSH daemon is configured to display last login information using command:
# cat /etc/ssh/sshd_config | grep -i ^PrintLastLog
PrintLastLog yes
If "PrintLastLog" is not set to "yes", this is a finding.
M
4012