Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 16.04
System Settings
System Accounting with auditd
Configure auditd Data Retention
Configure auditd Number of Logs Retained
Configure auditd Number of Logs Retained
An XCCDF Rule
Details
Profiles
Prose
Configure auditd Number of Logs Retained
Medium Severity
Determine how many log files
auditd
should retain when it rotates logs. Edit the file
/etc/audit/auditd.conf
. Add or modify the following line, substituting
NUMLOGS
with the correct value of
:
num_logs =
NUMLOGS
Set the value to 5 for general-purpose systems. Note that values less than 2 result in no log rotation.