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_V1R7_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: 73adf3bbe83ee6e4f716c3dd6972798430c7d609f65dbcf72c83f221477f6f6c