SV-261469r996814_rule
V-261469
SRG-OS-000472-GPOS-00217
SLEM-05-654230
CAT II
10
Configure SLEM 5 to generate an audit record for the "/run/utmp" file.
Add or modify the following lines in the "/etc/audit/rules.d/audit.rules" file:
-w /run/utmp -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
Verify SLEM 5 generates an audit record for the "/run/utmp" file with the following command:
> sudo auditctl -l | grep -w '/run/utmp'
-w /run/utmp -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.
V-261469
False
SLEM-05-654230
Verify SLEM 5 generates an audit record for the "/run/utmp" file with the following command:
> sudo auditctl -l | grep -w '/run/utmp'
-w /run/utmp -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.
M
5596