STIGUI
V-261470CAT II — Medium severitySV-261470r996817_rule

SLEM 5 must generate audit records for the "/var/log/btmp" file.

Rule version SLEM-05-654235 · STIG v1 · 2026-08-20

Discussion

Without generating audit records specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.

Audit records can be generated from various components within the information system (e.g., module or policy filter).

Check

Verify SLEM 5 generates an audit record for the "/var/log/btmp" file with the following command:

     > sudo auditctl -l | grep -w '/var/log/btmp'
     -w /var/log/btmp -p wa -k login_mod

If the command does not return a line that matches the example, this is a finding.

Note: The "key=" value is arbitrary and can be different from the example output above.

Fix

Configure SLEM 5 to generate an audit record for the "/var/log/btmp" file.

Add or modify the following lines in the "/etc/audit/rules.d/audit.rules" file:

-w /var/log/btmp -p wa -k login_mod

To reload the rules file, restart the audit daemon:

     > sudo systemctl restart auditd.service

or issue the following command:

     > sudo augenrules --load

Identifiers

Group ID
V-261470
Group title
SRG-OS-000472-GPOS-00217
Rule ID
SV-261470r996817_rule
Check ID
C-65199r996815_chk
Fix ID
F-65107r996816_fix