[GH-ISSUE #42] 24_aide - Ubuntu 18.04 #18

Closed
opened 2026-03-03 13:58:24 +03:00 by kerem · 0 comments
Owner

Originally created by @devspyrosv on GitHub (Apr 14, 2019).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/42

:-) Wrong project, sorry! It was meant for the ansible-hardening one.

Original:

In Ubuntu 18.04 with aide 0.16-3 the default config is as follows:


$ sudo cat /etc/aide/aide.conf

# AIDE conf

# The daily cron job depends on these paths
database=file:/var/lib/aide/aide.db
database_out=file:/var/lib/aide/aide.db.new
database_new=file:/var/lib/aide/aide.db.new
gzip_dbout=yes
...

In the tasks "stat aide.db" and "initialize aide" the database file expected and created is /var/lib/aide/aide.db.gz

If one manually runs the aidecheck.service.j2 command (/usr/bin/aide.wrapper --check), a message about the lack of a database is shown.

If one stats the database, it is empty.

I can do a PR if you agree. Thank you!

Originally created by @devspyrosv on GitHub (Apr 14, 2019). Original GitHub issue: https://github.com/konstruktoid/hardening/issues/42 :-) Wrong project, sorry! It was meant for the ansible-hardening one. Original: In Ubuntu 18.04 with aide 0.16-3 the default config is as follows: ``` $ sudo cat /etc/aide/aide.conf # AIDE conf # The daily cron job depends on these paths database=file:/var/lib/aide/aide.db database_out=file:/var/lib/aide/aide.db.new database_new=file:/var/lib/aide/aide.db.new gzip_dbout=yes ... ``` In the tasks "stat aide.db" and "initialize aide" the database file expected and created is /var/lib/aide/aide.db.gz If one manually runs the aidecheck.service.j2 command (/usr/bin/aide.wrapper --check), a message about the lack of a database is shown. If one stats the database, it is empty. I can do a PR if you agree. Thank you!
kerem closed this issue 2026-03-03 13:58:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hardening#18
No description provided.