9.2. Performing integrity checks with AIDE
Conditions préalables
-
AIDE
is properly installed and its database is initialized. See Installing AIDE
Procédure
To initiate a manual check:
# aide --check Start timestamp: 2018-07-11 12:41:20 +0200 (AIDE 0.16) AIDE found differences between database and filesystem!! ... [trimmed for clarity]
At a minimum, configure the system to run
AIDE
weekly. Optimally, runAIDE
daily. For example, to schedule a daily execution ofAIDE
at 04:05 a.m. using thecron
command, add the following line to the/etc/crontab
file:05 4 * * * root /usr/sbin/aide --check