OL08-00-020264 - The OL 8 lastlog command must be group-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 group-owned by root with the following command:

$ sudo chgrp 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-248707r779687_rule, STIG-ID|OL08-00-020264, Vuln-ID|V-248707

Plugin: Unix

Control ID: c3efb95a8c17748ab1da3b87f96e2926c3b6ef8b4394327862e49c783b050553