Check: PHTN-67-000091
VMware vSphere 6.7 Photon OS STIG:
PHTN-67-000091
(in versions v1 r6 through v1 r1)
Title
The Photon operating system must configure sshd to display the last login immediately after authentication. (Cat II impact)
Discussion
Providing users with feedback on the last time they logged on via SSH facilitates user recognition and reporting of unauthorized account use.
Check Content
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.
Fix Text
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
Additional Identifiers
Rule ID: SV-239162r675294_rule
Vulnerability ID: V-239162
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |