OL08-00-020264 - The OL 8 lastlog command must be group-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 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_V1R8_STIG.zip