Knowledge Base
Search
New article
Authentication is disabled (development mode).
Edit article
Title
Tags
Content
<p>ref: <a href="https://serverfault.com/questions/90400/how-to-check-for-modified-config-files-on-a-debian-system#answer-90401">https://serverfault.com/questions/90400/how-to-check-for-modified-config-files-on-a-debian-system#answer-90401</a></p><pre><code class="language-bash">dpkg-query -W -f='${Conffiles}' '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK$/{print $1}' | sort</code></pre>
Save
Cancel