--- title: "Enable auditing on Ubuntu" slug: "enable-auditing-on-ubuntu" tags: ["Install and Get Started", "EDR", "Endpoint Security"] updated: 2026-08-27T17:54:41Z published: 2026-08-27T17:54:41Z canonical: "docs.trellix.com/enable-auditing-on-ubuntu" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enable auditing on Ubuntu Ubuntu does not install or enable the audit daemon by default. Use this procedure to track security events and identify security violations. **Prerequisites** - You must have root privileges or **sudo** access. **Configure the audit daemon** 1. Update the package repository. ``` sudo apt update ``` 2. Install the audit daemon and required plugins. ``` sudo apt install auditd audispd-plugins ``` 3. Open the `/etc/default/grub` file in a text editor. 4. Add `audit=1` to the `GRUB_CMDLINE_LINUX` parameter to enable auditing at startup. 5. Update the GRUB configuration and restart the endpoint. 6. Verify the status of the audit daemon. ``` sudo systemctl status auditd ``` 7. List the active audit rules to confirm the kernel configuration. ``` sudo auditctl -l ```