Skip to content

The OL 8 lastlog command must be owned by root.

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-248706r958566_rule
Version
OL08-00-020263
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the "lastlog" command for OL 8 to be owned by root with the following command:   

$ sudo chown root /usr/bin/lastlog