5.2.3.8 Ensure successful and unsuccessful attempts to use the usermod command are recorded

Information

The operating system must generate audit records for successful/unsuccessful uses of the usermod command.

Without generating audit records that are 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

Edit the file /etc/security/audit_control, with the relevant rules to monitor events like usermod.

Modify the flags directive to match the following:

flags:ad

This flag should be added if there were other flags previously configured rather than replacing the entire line.

See Also

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

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-2, 800-53|AU-7, 800-53|AU-12, CSCv7|6.2

Plugin: Unix

Control ID: f9948f5f8048f8e1335858a1b8a343a430204c880f9bece46cd6314a1f32ab87