{
  "created": "2015-12-20T19:56:35Z",
  "hierarchy": [
    {
      "name": "ROOT",
      "type": "folder",
      "uri": "/ROOT"
    },
    {
      "name": "AIDE Setup Notes",
      "type": "article",
      "uri": "AIDE_Setup_Notes"
    }
  ],
  "html": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\"/>\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta property=\"og:image\" content=\"/img/logo512.png\"/>\n    <meta property=\"og:site_name\" content=\"Nikhil's Personal Wiki\"/>\n    <link rel=\"og:image\" href=\"/img/logo512.png\"/>\n    <link rel=\"icon\" href=\"/img/favicon.png\"/>\n    <link rel=\"apple-touch-icon\" href=\"/img/logo192.png\"/>\n    <link rel=\"stylesheet\" href=\"/css/styles.css\"/>\n    <link rel=\"stylesheet\" href=\"/css/highlight.css\"/>\n    <title>AIDE Setup Notes &ndash; Nikhil's Personal Wiki</title>\n    <script type=\"text/javascript\" id=\"MathJax-script\" defer src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js\"></script>\n    <script defer data-domain=\"wiki.nikhil.io\" src=\"https://plausible.io/js/plausible.js\"></script>\n  </head>\n  <body>\n    <noscript>\n      👉 A few things won&#8217;t work if you have JavaScript disabled.\n    </noscript>\n    <div class=\"container article\">\n      <header>\n        <nav>\n          <ul>\n            <li>\n              <a href=\"/archive\"  title=\"Archive\">\n                <span>Archive</span>\n              </a>\n            </li>\n            <li>\n              <a href=\"/Home\"  title=\"Home\">\n                <span>Home</span>\n              </a>\n            </li>\n            <li>\n              <a href=\"/random\"  title=\"See a random article\">\n                <span>Random</span>\n              </a>\n            </li>\n            \n            \n              \n                <li>\n                  <a href=\"/AIDE_Setup_Notes/raw\"  title=\"View Source\">\n                    <span>Raw</span>\n                  </a>\n                </li>\n              \n              \n            \n            \n            \n            \n              \n                <li>\n                  <a href=\"/AIDE_Setup_Notes/revisions\" >\n                    <span>Revisions</span>\n                  </a>\n                </li>\n              \n            \n            \n              \n                \n                  <li>\n                    <a href=\"/AIDE_Setup_Notes/index.json\" title=\"View JSON Object\">\n                      <span>JSON</span>\n                    </a>\n                  </li>\n                \n              \n            \n          </ul>\n        </nav>\n      </header>\n      <main>\n        \n  <nav>\n  <ul>\n    \n      <li>\n        <a data-entity-type=\"folder\" href=\"/ROOT\" title=\"ROOT\">Root</a>\n      </li>\n    \n      <li>\n        <a data-entity-type=\"article\" href=\"/AIDE_Setup_Notes\" title=\"AIDE Setup Notes\">AIDE Setup Notes</a>\n      </li>\n    \n    \n    \n    \n    \n  </ul>\n</nav>\n\n  <h1>AIDE Setup Notes\n    \n  </h1>\n  <hr />\n<p>tags:</p>\n<ul>\n<li>centos</li>\n<li>redhat</li>\n<li>linux</li>\n<li>guide</li>\n</ul>\n<hr />\n<p>Installed <a href=\"http://aide.sourceforge.net/\">AIDE</a> <code>v0.13.1-6.el5_8.2</code><br />\non CentOS 5.8 x86_64</p>\n<h2>Notes</h2>\n<h3>Installation</h3>\n<pre tabindex=\"0\" class=\"chroma\"><code><span class=\"line\"><span class=\"cl\">yum -y install aide  \n</span></span><span class=\"line\"><span class=\"cl\">cp /etc/aide.conf<span class=\"o\">{</span>,.original<span class=\"o\">}</span>\n</span></span></code></pre><h3>Configuration</h3>\n<p>The <code>aide.conf</code> file has selinux entries which you <a href=\"http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+Backdrift+%28Backdrift%29\">might want to<br />\nredefine</a><br />\nto prevent &ldquo;<code>lgetfilecon_raw failed</code>&rdquo; errors. Here are my definitions:</p>\n<pre><code>ALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \nEVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \nNORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \nDIR           = p+i+n+u+g+acl+xattrs  \nPERMS         = p+i+u+g+acl  \nLOG           = p+u+g+i+n+S+acl+xattrs  \nLSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \nDATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n</code></pre>\n<p>Read the file, determine what you need, and add/adjust entries<br />\naccordingly.</p>\n<h3>Initialization</h3>\n<pre tabindex=\"0\" class=\"chroma\"><code><span class=\"line\"><span class=\"cl\">aide --init\n</span></span></code></pre><p>This creates <code>/var/lib/aide/aide.db.new.gz</code>. <strong>Back up this file to a<br />\nsafe and secure place off this server!</strong> Now rename the file:</p>\n<pre tabindex=\"0\" class=\"chroma\"><code><span class=\"line\"><span class=\"cl\">mv /var/lib/aide/<span class=\"o\">{</span>aide.db.new.gz,aide.db.gz<span class=\"o\">}</span>\n</span></span></code></pre><h3>Checking</h3>\n<pre tabindex=\"0\" class=\"chroma\"><code><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># On the system  </span>\n</span></span><span class=\"line\"><span class=\"cl\">aide --check  \n</span></span><span class=\"line\"><span class=\"cl\">  \n</span></span><span class=\"line\"><span class=\"cl\"><span class=\"c1\"># Comparing outside the system  </span>\n</span></span><span class=\"line\"><span class=\"cl\">aide --compare old.db.gz new.db.gz\n</span></span></code></pre>\n\n      </main>\n      <footer>\n        <p>\n          \n        </p>\n        <ul>\n          \n  <li>1,526 bytes</li>\n  \n    <li>Created on Sunday, 20 December 2015 at 19:56 UTC</li>\n    <li>Modified on Tuesday, 13 January 2026 at 18:47 UTC</li>\n    <br/>\n    <li>\n      <a\n        href=\"https://github.com/afreeorange/wiki.nikhil.io.articles/edit/master/AIDE Setup Notes.md\"\n        title=\"Edit this article\">Edit this article</a>\n    </li>\n  \n\n          <li>\n            <a href=\"https://github.com/afreeorange/bock\" title=\"View the project that generates this wiki on Github\">bock\n            5.2.0-beta</a>\n          </li>\n        </ul>\n      </footer>\n    </div>\n    \n    \n      <script type=\"text/javascript\">\n        /**\n         * Quick shortcut to take me to the search box which is 90% of how I navigate\n         * this wiki anyway.\n         */\n        document.body.addEventListener(\n          \"keypress\", (e) => e.key === \"f\"\n          ? window.location.assign(\"/archive\")\n          : null);\n        window.MathJax = {\n          tex: {\n            inlineMath: [\n              [\n                '$', '$'\n              ],\n              [\n                '\\\\(', '\\\\)'\n              ]\n            ]\n          },\n          svg: {\n            fontCache: 'global'\n          }\n        };\n      </script>\n    \n  </body>\n</html></head></html>\n",
  "id": "b216e8ff-0fe5-5ce7-bff9-ef299b7ef247",
  "modified": "2026-01-13T18:47:28Z",
  "revisions": [
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-01-13T18:47:28Z",
      "id": "2436477560f26e23d00a24add1cbfeafdca4af78",
      "shortId": "24364775",
      "subject": "No compression\n",
      "content": "---\ntags:\n  - centos\n  - redhat\n  - linux\n  - guide\n---\n\nInstalled [AIDE](http://aide.sourceforge.net/) `v0.13.1-6.el5_8.2` \non CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n```bash\nyum -y install aide  \ncp /etc/aide.conf{,.original}\n```\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n```\nALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \nEVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \nNORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \nDIR           = p+i+n+u+g+acl+xattrs  \nPERMS         = p+i+u+g+acl  \nLOG           = p+u+g+i+n+S+acl+xattrs  \nLSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \nDATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n```\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n```bash\naide --init\n```\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n```bash\nmv /var/lib/aide/{aide.db.new.gz,aide.db.gz}\n```\n\n### Checking\n\n```bash\n# On the system  \naide --check  \n  \n# Comparing outside the system  \naide --compare old.db.gz new.db.gz\n```\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2019-12-26T21:56:34Z",
      "id": "3dbcc809f3e34ba24cbfe9c62cde69409e6bb2bb",
      "shortId": "3dbcc809",
      "subject": "Add tags via frontmatter\n",
      "content": "---\ntags:\n  - centos\n  - redhat\n  - linux\n  - guide\n---\n\nInstalled [AIDE](http://aide.sourceforge.net/) `v0.13.1-6.el5_8.2` \non CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n```bash\nyum -y install aide  \ncp /etc/aide.conf{,.original}\n```\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n```\nALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \nEVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \nNORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \nDIR           = p+i+n+u+g+acl+xattrs  \nPERMS         = p+i+u+g+acl  \nLOG           = p+u+g+i+n+S+acl+xattrs  \nLSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \nDATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n```\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n```bash\naide --init\n```\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n```bash\nmv /var/lib/aide/{aide.db.new.gz,aide.db.gz}\n```\n\n### Checking\n\n```bash\n# On the system  \naide --check  \n  \n# Comparing outside the system  \naide --compare old.db.gz new.db.gz\n```\n"
    },
    {
      "authorEmail": "anand.nikhil@gmail.com",
      "authorName": "Nikhil Anand",
      "date": "2015-12-27T09:56:56Z",
      "id": "aa48b4b13324f7bb7c41d815ce772b7085bb2747",
      "shortId": "aa48b4b1",
      "subject": "Add code block for command\n",
      "content": "Installed [AIDE](http://aide.sourceforge.net/) `v0.13.1-6.el5_8.2` \non CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n```bash\nyum -y install aide  \ncp /etc/aide.conf{,.original}\n```\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n```\nALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \nEVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \nNORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \nDIR           = p+i+n+u+g+acl+xattrs  \nPERMS         = p+i+u+g+acl  \nLOG           = p+u+g+i+n+S+acl+xattrs  \nLSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \nDATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n```\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n```bash\naide --init\n```\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n```bash\nmv /var/lib/aide/{aide.db.new.gz,aide.db.gz}\n```\n\n### Checking\n\n```bash\n# On the system  \naide --check  \n  \n# Comparing outside the system  \naide --compare old.db.gz new.db.gz\n```\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-27T07:27:56Z",
      "id": "1aa29105a45aa67523ffb61e73bcc415f935a47e",
      "shortId": "1aa29105",
      "subject": "Fix Markdown conversion\n\nSaw half a season of The Office\n",
      "content": "Installed [AIDE](http://aide.sourceforge.net/) `v0.13.1-6.el5_8.2` \non CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n```bash\nyum -y install aide  \ncp /etc/aide.conf{,.original}\n```\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n```\nALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \nEVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \nNORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \nDIR           = p+i+n+u+g+acl+xattrs  \nPERMS         = p+i+u+g+acl  \nLOG           = p+u+g+i+n+S+acl+xattrs  \nLSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \nDATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n```\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n```bash\naide --init\n```\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n```bash\nmv /var/lib/aide/{aide.db.new.gz,aide.db.gz}\n```\n\n### Checking\n\n```bash\n# On the system  \naide --check  \n  \n# Comparing outside the system  \naide --compare old.db.gz new.db.gz\n```\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-21T09:21:46Z",
      "id": "255f4cd6587aaa8efd873d9678655c30ceda5677",
      "shortId": "255f4cd6",
      "subject": "Fix Markdown formatting\n",
      "content": "Installed [AIDE](http://aide.sourceforge.net/) `v0.13.1-6.el5_8.2` \non CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n```bash\nyum -y install aide  \ncp /etc/aide.conf{,.original}\n```\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n    ALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \n    EVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \n    NORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \n    DIR           = p+i+n+u+g+acl+xattrs  \n    PERMS         = p+i+u+g+acl  \n    LOG           = p+u+g+i+n+S+acl+xattrs  \n    LSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \n    DATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n    aide --init\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n```bash\nmv /var/lib/aide/{aide.db.new.gz,aide.db.gz}\n```\n\n### Checking\n\n```bash\n# On the system  \naide --check  \n  \n# Comparing outside the system  \naide --compare old.db.gz new.db.gz\n```\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-21T02:30:47Z",
      "id": "d658e80d1ecb97b196531c7b15a0f9af709c05de",
      "shortId": "d658e80d",
      "subject": "Incremental\n",
      "content": "Pre-Flight\n----------\n\n-   AIDE `v0.13.1-6.el5_8.2` on CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n` yum -y install aide`  \n` cp /etc/aide.conf{,.original}`\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n` ALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger`  \n` EVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES`  \n` NORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256`  \n` DIR           = p+i+n+u+g+acl+xattrs`  \n` PERMS         = p+i+u+g+acl`  \n` LOG           = p+u+g+i+n+S+acl+xattrs`  \n` LSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256`  \n` DATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger`\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n` aide --init`\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n` mv /var/lib/aide/{aide.db.new.gz,aide.db.gz}`\n\n### Checking\n\n` # On the system`  \n` aide --check`  \n` `  \n` # Comparing outside the system`  \n` aide --compare old.db.gz new.db.gz`\n\n\n\n\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:56:35Z",
      "id": "e4f0c99d48a0388422aca5b779bfc8a6cd75333c",
      "shortId": "e4f0c99d",
      "subject": "AIDE Setup Notes : v2\n",
      "content": "Pre-Flight\n----------\n\n-   AIDE `v0.13.1-6.el5_8.2` on CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n` yum -y install aide`  \n` cp /etc/aide.conf{,.original}`\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n` ALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger`  \n` EVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES`  \n` NORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256`  \n` DIR           = p+i+n+u+g+acl+xattrs`  \n` PERMS         = p+i+u+g+acl`  \n` LOG           = p+u+g+i+n+S+acl+xattrs`  \n` LSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256`  \n` DATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger`\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n` aide --init`\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n` mv /var/lib/aide/{aide.db.new.gz,aide.db.gz}`\n\n### Checking\n\n` # On the system`  \n` aide --check`  \n` `  \n` # Comparing outside the system`  \n` aide --compare old.db.gz new.db.gz`\n\n[Category:Installation Logs](Category:Installation_Logs \"wikilink\")\n[Category:Nikhil's Notes](Category:Nikhil's_Notes \"wikilink\")\n[Category:From a past sysadmin\nlife](Category:From_a_past_sysadmin_life \"wikilink\")\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:56:35Z",
      "id": "302894fdca83505ae12f1589d1ef95f029e85683",
      "shortId": "302894fd",
      "subject": "AIDE Setup Notes : First Draft\n",
      "content": "Pre-Flight\n----------\n\n-   AIDE `v0.13.1-6.el5_8.2` on CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n` yum -y install aide`  \n` cp /etc/aide.conf{,.original}`\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n` ALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger`  \n` EVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES`  \n` NORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256`  \n` DIR           = p+i+n+u+g+acl+xattrs`  \n` PERMS         = p+i+u+g+acl`  \n` LOG           = p+u+g+i+n+S+acl+xattrs`  \n` LSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256`  \n` DATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger`\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n` aide --init`\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n` mv /var/lib/aide/{aide.db.new.gz,aide.db.gz}`\n\n### Checking\n\n` # On the system`  \n` aide --check`  \n` `  \n` # Comparing outside the system`  \n` aide --compare old.db.gz new.db.gz`\n\n[Category:Installation Logs](Category:Installation_Logs \"wikilink\")\n[Category:Nikhil's Notes](Category:Nikhil's_Notes \"wikilink\")\n"
    }
  ],
  "sizeInBytes": 1526,
  "source": "---\ntags:\n  - centos\n  - redhat\n  - linux\n  - guide\n---\n\nInstalled [AIDE](http://aide.sourceforge.net/) `v0.13.1-6.el5_8.2` \non CentOS 5.8 x86\\_64\n\nNotes\n-----\n\n### Installation\n\n```bash\nyum -y install aide  \ncp /etc/aide.conf{,.original}\n```\n\n### Configuration\n\nThe `aide.conf` file has selinux entries which you [might want to\nredefine](http://backdrift.org/how-to-fix-aide-lgetfilecon_raw-failed-for-no-data-available-errors?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Backdrift+%28Backdrift%29)\nto prevent \"`lgetfilecon_raw failed`\" errors. Here are my definitions:\n\n```\nALLXTRAHASHES = sha1+rmd160+sha256+sha512+tiger  \nEVERYTHING    = p+i+n+u+g+s+m+c+acl+xattrs+md5+ALLXTRAHASHES  \nNORMAL        = p+i+n+u+g+s+m+c+acl+xattrs+md5+rmd160+sha256  \nDIR           = p+i+n+u+g+acl+xattrs  \nPERMS         = p+i+u+g+acl  \nLOG           = p+u+g+i+n+S+acl+xattrs  \nLSPP          = p+i+n+u+g+s+m+c+acl+xattrs+md5+sha256  \nDATAONLY      = p+n+u+g+s+acl+xattrs+md5+sha256+rmd160+tiger\n```\n\nRead the file, determine what you need, and add/adjust entries\naccordingly.\n\n### Initialization\n\n```bash\naide --init\n```\n\nThis creates `/var/lib/aide/aide.db.new.gz`. **Back up this file to a\nsafe and secure place off this server!** Now rename the file:\n\n```bash\nmv /var/lib/aide/{aide.db.new.gz,aide.db.gz}\n```\n\n### Checking\n\n```bash\n# On the system  \naide --check  \n  \n# Comparing outside the system  \naide --compare old.db.gz new.db.gz\n```\n",
  "title": "AIDE Setup Notes",
  "untracked": false,
  "uri": "/AIDE_Setup_Notes",
  "relativePath": "AIDE Setup Notes.md"
}
