Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dpkg -l |g aide
ii aide 0.17.3-4ubuntu0.1 amd64 Advanced Intrusion Detection Environment - static binary
ii aide-common 0.17.3-4ubuntu0.1 all Advanced Intrusion Detection Environment - Common files
I am not sure if anybody still uses AIDE, I used in the past and everything was straightforward. For some reasons this time I have some issues and I hope someone knows something and can identify this behaviour.
This is default conf. Creating aide.db takes 241'6" and but when I launch any aide command with I received an error like below.
I purged and reinstalled few times but this behaviour persisted.
Code:
# aideinit -y
Running aide --init...
WARNING: get_file_status: lstat() failed for /run/user/1000/doc: Permission denied
WARNING: get_file_status: lstat() failed for /run/user/1000/gvfs: Permission denied
Start timestamp: 2022-04-10 18:11:15 -0400 (AIDE 0.17.3)
AIDE initialized database at /var/lib/aide/aide.db.new
Number of entries: 913979
---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------
/var/lib/aide/aide.db.new
...................................................
...................................................
End timestamp: 2022-04-10 22:12:21 -0400 (run time: 241m 6s)
Overwrite /var/lib/aide/aide.db [yN]? y
You have new mail in /var/mail/root
Code:
# aide --check
ERROR: missing configuration (use '--config' '--before' or '--after' command line parameter)
You have new mail in /var/mail/root
aide --init --config=/etc/aide/aide.conf
ERROR: /etc/aide/aide.conf:145: 'verbose' option is no longer supported, use 'log_level' and 'report_level' options instead (see man aide.conf for details) (line: '!/var/spool/.*')
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386
Original Poster
Rep:
Quote:
Originally Posted by p1r4t3
Hello,
I'm looking to keep a trace all the files copied to a USB key, I came accross AIDE.
My first question is : Is it the best tool to do this ?
If it's the case, @lattimro, do you manage to fix your problem ? I had the same error, but I didn't wait long enough for the command to finish
I saw that you had to wait more than 4 hours. I re run the command, I'm currently waiting...
Thanks
Yes, I remember I waited even days. It works on other distributions. On Ubuntu perhaps I disabled it due to errors, I can't remember now. I will install and run it again and let you know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.