Skip to content

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

An XCCDF Rule

Description

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

ID
SV-248705r958566_rule
Version
OL08-00-020262
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

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

$ sudo chmod 0750 /usr/bin/lastlog