1. Home
  2. Security Hardening
  3. CIS Debian Linux 7 L1 V1.0.0
  4. Create Separate Partition for /var/log/audit

Create Separate Partition for /var/log/audit

Details

The auditing daemon, auditd, stores log data in the /var/log/audit directory. There are two important reasons to ensure that data gathered by auditd is stored on a separate partition: protection against resource exhaustion (since the audit.log file can grow quite large) and protection of audit data. The audit daemon calculates how much free space is left and performs actions based on the results. If other processes (such as syslog) consume space in the same partition as auditd, it may not perform as desired.

Solution

For new installations, during installation create a custom partition setup and specify a separate partition for /var/log/audit. For systems that were previously installed, use the Logical Volume Manager (LVM) to create partitions.

Supportive Information

The following resource is also helpful.

This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles