SLEM-05-255070 - SLEM 5 must display the date and time of the last successful account logon upon an SSH logon.

Information

Providing users with feedback on when account accesses via SSH last occurred facilitates user recognition and reporting of unauthorized account use.

Solution

Configure SLEM 5 to provide users with feedback on when account accesses last occurred.

Add or modify the following lines in the "/etc/ssh/sshd_config" file:

PrintLastLog yes

Restart the SSH daemon in order for the changes to take effect:

> sudo systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SLEM_5_V1R4_STIG.zip