Skip to content

The OL 8 lastlog command must be owned by root.

An XCCDF Rule

Description

<VulnDiscussion>Unauthorized disclosure of the contents of the /var/log/lastlog file can reveal system data to attackers, thus compromising its confidentiality.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-248706r779684_rule
Severity
Medium
References
Updated



Remediation - Manual Procedure

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

$ sudo chown root /usr/bin/lastlog