1) chkrootkit is not producing a log?!
This is the line from my crontab However, the log never gets sent to me..and when I check the log it is empty. I have tried Chkrootkit from the terminal and it runs OK. What am I missing?
30 09 * * * root /usr/sbin/chkrootkit && cat /var/log/chkrootkit/log.today | mail -s "chkrootkit log for $(date)" xxx@gmail.com
I am using 14.04.
2) this is my crontab for aide...it runs no problem....but not sure how meaningful the output is. Should I be running it with a different switch?
15 09 * * * root /usr/bin/aide/aide.conf --check && head -n 20 /var/log/aide/aide.log | mail -s "Aide log for $(date)" xxxx@gmail.com
aide run on pj-selxxuild started at 2014-08-02 08:37:38.
AIDE returned with exit code 7. Added, removed and changed entries detected!
AIDE produced no errors.
AIDE output (292772 lines):
lstat() failed for /run/user/1000/gvfsermission denied
lstat() failed for /run/user/1001/gvfsermission denied
Entry /home/pj/.gvfs in databases has different attributes: 1a00200fbd 800000fbd
Entry /root/.gvfs in databases has different attributes: 800000fbd 1a00200fbd
Entry /usr/sbin/sendmail in databases has different attributes: 1ac027cfbd a00000fbf
Entry /usr/share/applications/defaults.list in databases has different attributes: a00000fbf 1ac027cfbd
AIDE 0.16a2-19-g16ed855 found differences between database and filesystem!!
New AIDE database written to /var/lib/aide/aide.db.new
Start timestamp: 2014-08-02 08:37:38 +1200
Verbose level: 6
Summary:
Total number of entries: 408490
Added entries: 106371
Removed entries: 64054
Changed entries: 13662
---------------------------------------------------
Added entries:
-------------------------------------
Bookmarks