STIGQter STIGQter: STIG Summary: SUSE Linux Enterprise Micro (SLEM) 5 Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 01 Apr 2026:

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

DISA Rule

SV-261339r996480_rule

Vulnerability Number

V-261339

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

SLEM-05-255070

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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

Check Contents

Verify all remote connections via SSH to SLEM 5 display feedback on when account accesses last occurred with the following command:

> sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*printlastlog'
/etc/ssh/sshd_config:PrintLastLog yes

If the "PrintLastLog" is not set to "yes", is commented out, missing, or conflicting results are returned, this is a finding.

Vulnerability Number

V-261339

Documentable

False

Rule Version

SLEM-05-255070

Severity Override Guidance

Verify all remote connections via SSH to SLEM 5 display feedback on when account accesses last occurred with the following command:

> sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*printlastlog'
/etc/ssh/sshd_config:PrintLastLog yes

If the "PrintLastLog" is not set to "yes", is commented out, missing, or conflicting results are returned, this is a finding.

Check Content Reference

M

Target Key

5596