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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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_V1R2_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001314, Rule-ID|SV-248706r779684_rule, STIG-ID|OL08-00-020263, Vuln-ID|V-248706

Plugin: Unix

Control ID: f95f8605a3aa344b07f47a68c6dd5f8938a7592976a9185570df6b79988a433e