STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Oracle Linux 8 Security Technical Implementation Guide

V-283459

CAT II (Medium)

The OL 8 lastlog command must have a mode of "0750" or less permissive.

Rule ID

SV-283459r1188521_rule

STIG

Oracle Linux 8 Security Technical Implementation Guide

Version

V2R8

CCIs

CCI-000213

Discussion

Unauthorized disclosure of the contents of the /var/log/lastlog file can reveal system data to attackers, thus compromising its confidentiality.

Check Content

Verify the "lastlog" command has a mode of "0750" or less permissive with the following command: 
 
$ sudo stat -c "%a %n" /usr/bin/lastlog

750  /usr/bin/lastlog

If the "lastlog" command has a mode more permissive than "0750", this is a finding.

Fix Text

Configure the mode of the "lastlog" command for OL 8 to "0750" with the following command:  

$ sudo chmod 0750 /usr/bin/lastlog