English Chinese (Simplified)
$ sudo aide --check
Start timestamp: 2018-07-11 12:41:20 +0200 (AIDE 0.16)
AIDE found differences between database and filesystem!!
$ sudo aide --init
Start timestamp: 2018-07-11 12:35:47 +0200 (AIDE 0.16)
AIDE initialized database at /var/lib/aide/aide.db.new.gz
$ sudo aide --update
$ sudo dnf install aide
$ sudo mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
05 4 * * * root /usr/sbin/aide --check
---------------------------------------------------
Added entries:
---------------------------------------------------
Additional Resources
Add the following line to the `/etc/crontab` file:
Advanced Intrusion Detection Environment (AIDE) is a utility that creates a database of files on the system, and then uses that database to ensure file integrity and detect system intrusions.
After verifying the changes of your system such as, package updates or configuration files adjustments, update your baseline *AIDE* database:
At a minimum, *AIDE* should be configured to run a weekly scan. At most, *AIDE* should be run daily. For example, to schedule a daily execution of AIDE at _04:05_ a.m. using the *cron* command, see the xref:f{MAJOROSVER}@fedora:system-administrators-guide:monitoring-and-automation/Automating_System_Tasks.adoc[Automating System Tasks] chapter in the System Administrator's Guide.
Checking Integrity With *AIDE*
End timestamp: 2018-07-11 12:37:35 +0200 (run time: 1m 48s)
f++++++++++++++++: /etc/cups/subscriptions.conf.O
...
[output truncated]
For additional information on *AIDE*, see the following documentation:
Installing *AIDE*
In the default configuration, the *aide --init* command checks just a set of directories and files defined in the `/etc/aide.conf` file. To include additional directories or files in the AIDE database, and to change their watched parameters, edit `/etc/aide.conf` accordingly.
link:http://aide.sourceforge.net/stable/manual.html[The AIDE manual]
link:https://static.open-scap.org/ssg-guides/ssg-sl7-guide-ospp-rhel7-server.html#xccdf_org.ssgproject.content_group_aide[Guide to the Secure Configuration of Red Hat Enterprise Linux 7 (OpenSCAP Security Guide): Verify Integrity with AIDE]