The OL 8 lastlog command must have a mode of "0750" or less permissive.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-248705 | OL08-00-020262 | SV-248705r958566_rule | CCI-001314 | medium |
| Description | ||||
| Unauthorized disclosure of the contents of the /var/log/lastlog file can reveal system data to attackers, thus compromising its confidentiality. | ||||
| STIG | Date | |||
| Oracle Linux 8 Security Technical Implementation Guide | 2025-05-13 | |||
Related Frameworks
2 paths across 2 frameworks
Related Frameworks
NIST 800-531 mapping
SI-11
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
CCI1 mapping
CCI-001314
1.00
- DISA · 2 · disa_xccdf · related
Details
Check Text (C-248705r958566_chk)
Verify the "lastlog" command has a mode of "0750" or less permissive with the following command:
$ sudo stat -c "%a %n" /usr/bin/lastlog
750 /usr/bin/lastlog
If the "lastlog" command has a mode more permissive than "0750", this is a finding.
Fix Text (F-52093r779680_fix)
Configure the mode of the "lastlog" command for OL 8 to "0750" with the following command:
$ sudo chmod 0750 /usr/bin/lastlog