OL08-00-020263 - The OL 8 lastlog command must be owned by root.

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_8_V2R1_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-248706r958566_rule, STIG-ID|OL08-00-020263, Vuln-ID|V-248706

Plugin: Unix

Control ID: 7238607237a3a168952fbf1fa36995b551d9607a28e82db47f971a5b1a9fe6e3