1.189 OL08-00-020263

Information

The OL 8 lastlog command must be owned by root.

GROUP ID: V-248706
RULE ID: SV-248706r958566

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

Solution

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

$ sudo chown root /usr/bin/lastlog

See Also

https://workbench.cisecurity.org/benchmarks/23791