Skip to content

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

An XCCDF Rule

Description

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

ID
SV-256554r991589_rule
Version
PHTN-30-000085
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "PrintLastLog" line is uncommented and set to the following: