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_V1R9_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: 58de4067b8194556cda7fa8bcda278098ad09fa83ecb6c99785239ad78cc9256