STIGQter STIGQter: STIG Summary: Solaris 10 SPARC Security Technical Implementation Guide Version: 2 Release: 2 Benchmark Date: 22 Jan 2021:

The system must display the date and time of the last successful account login upon login.

DISA Rule

SV-226452r603265_rule

Vulnerability Number

V-226452

Group Title

SRG-OS-000025

Rule Version

GEN000452

Severity

CAT III

CCI(s)

Weight

10

Fix Recommendation

Configure the system to display the date and time of the last successful login upon logging in.

Enable PrintLastLog in the SSH daemon.

To enable PrintLastLog in the SSH daemon, remove any lines disabling this option from /etc/ssh/sshd_config.

Check Contents

Determine if the system displays the date and time of the last successful login upon logging in. This can be accomplished by logging into the system and verifying whether or not the necessary information is displayed. If the system does not provide this information upon login, this is a finding.

Last login information is provided automatically by the login(1) program for telnet and console login sessions.

Verify the SSH daemon is configured to display last login information.

# grep -i PrintLastLog /etc/ssh/sshd_config
If PrintLastLog is present in the configuration and not disabled, this is not a finding. Otherwise, this is a finding.

Vulnerability Number

V-226452

Documentable

False

Rule Version

GEN000452

Severity Override Guidance

Determine if the system displays the date and time of the last successful login upon logging in. This can be accomplished by logging into the system and verifying whether or not the necessary information is displayed. If the system does not provide this information upon login, this is a finding.

Last login information is provided automatically by the login(1) program for telnet and console login sessions.

Verify the SSH daemon is configured to display last login information.

# grep -i PrintLastLog /etc/ssh/sshd_config
If PrintLastLog is present in the configuration and not disabled, this is not a finding. Otherwise, this is a finding.

Check Content Reference

M

Target Key

4060

Comments