PHTN-67-000091 - The Photon operating system must configure sshd to display the last login immediately after authentication.

Information

Providing users with feedback on the last time they logged on via SSH facilitates user recognition and reporting of unauthorized account use.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip