OL08-00-020262 - The OL 8 lastlog command must have a mode of '0750' or less permissive.

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 mode of the 'lastlog' command for OL 8 to '0750' with the following command:

$ sudo chmod 0750 /usr/bin/lastlog

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_8_V2R1_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-248705r958566_rule, STIG-ID|OL08-00-020262, Vuln-ID|V-248705

Plugin: Unix

Control ID: 09faf2f72303490c5027f2ae188deb056c4e4d9239bd23ed4575356ee1817a42