[Aide] files/folder ignore question
Richard van den Berg
richard at vdberg.org
Mon Jun 26 20:04:47 EEST 2006
o omida parasita wrote:
> Hello,
> I have the following problem:
> I want to exclude from aide scan everything from /home except to
> directories: /home/path/to/dir1 and /home/path/to/dir2
Just add those 2 directories, and don't mention /home:
/home/path/to/dir1 R
/home/path/to/dir2 R
If you already have a rule for / in your conf, exclude /home by:
!/home
You might have to play a bit with the order of those lines to get it
right. My first guess would be:
/ R
!/home
/home/path/to/dir1 R
/home/path/to/dir2 R
Sincerely,
Richard van den Berg
More information about the Aide
mailing list