1.160 SLES-15-030770

Information

The SUSE operating system must generate audit records for the /var/log/wtmp file.

GROUP ID: V-234976
RULE ID: SV-234976r991581

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).

Solution

Configure the SUSE operating system to generate an audit record for the "/var/log/wtmp" file.

Add or update the following rules to "/etc/audit/rules.d/audit.rules":

-w /var/log/wtmp -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

See Also

https://workbench.cisecurity.org/benchmarks/23779