<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Audit on Lead DevOps</title><link>https://lead-devops.blackdevhub.online/en/tags/audit/</link><description>Recent content in Audit on Lead DevOps</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 05 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://lead-devops.blackdevhub.online/en/tags/audit/index.xml" rel="self" type="application/rss+xml"/><item><title>auditd: file access and syscall logging</title><link>https://lead-devops.blackdevhub.online/en/posts/auditd-file-syscall-logging/</link><pubDate>Sat, 05 Sep 2026 00:00:00 +0000</pubDate><guid>https://lead-devops.blackdevhub.online/en/posts/auditd-file-syscall-logging/</guid><description>&lt;p&gt;Linux doesn&amp;rsquo;t write every access to &lt;code&gt;/etc/shadow&lt;/code&gt; or every &lt;code&gt;unlink&lt;/code&gt; call to syslog. For incident investigation and compliance this is critical. auditd solves this: the Linux Audit kernel subsystem records system calls, file access, and more.&lt;/p&gt;&#10;&lt;h2 id="installation-and-startup"&gt;Installation and Startup&#10;&lt;/h2&gt;&#10;&lt;p&gt;auditd comes in the &lt;code&gt;audit&lt;/code&gt; package available in any distribution.&lt;/p&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-b9f47e43-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="8"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-b9f47e43-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Debian/Ubuntu&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install auditd&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# RHEL/CentOS/Alma&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yum install audit&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Arch&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pacman -S audit&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;After installation, start the service via systemd.&lt;/p&gt;</description></item></channel></rss>