The Ubuntu operating system must generate audit records for the /var/run/utmp file.
An XCCDF Rule
Description
<VulnDiscussion>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).</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-238316r991581_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure the audit system to generate audit events showing start and stop times for user access via the "/var/run/utmp" file.
Add or update the following rules in the "/etc/audit/rules.d/stig.rules" file:
-w /var/run/utmp -p wa -k logins