Hacking Linux Exposed

About
Authors
Contents
Reviews
Foreword
Purchase

Articles
Books
Sourcecode
Tools
Errata

Home

 


(view this code in a separate window)

#
# Sample aide.conf file
#
# Copyright 2001, Bri Hatch
# Released under the GPL.


# Uncomment to run in testmode.
@@define TESTMODE yes


# Defaults
@@define ROOT /
@@define DBDIR /mnt/aidedb
report_url=file:@@{DBDIR}/report
verbose=100
gzip_dbout=yes

# Overwrite some defaults if in testmode
@@ifdef TESTMODE
       @@define ROOT /simulated_root/
       verbose=255
       gzip_dbout=no
@@endif

database=file:@@{DBDIR}/aide.db
database_out=file:@@{DBDIR}/aide.db.new

# What perm/checksum methods we'd like to save.
Perms_only=R+b
Checksums_only=md5+sha1+rmd160+tiger
Standard_tests=R+b+Checksums_only
Logfiles=>

# What dirs to check, and how:
@@{ROOT}                          Standard_tests
@@{ROOT}etc                       Standard_tests
@@{ROOT}sbin                      Standard_tests
@@{ROOT}dev                       Perms_only
@@{ROOT}var                       Standard_tests
@@{ROOT}var/log/.*log             Logfiles
@@{ROOT}var/log/messages          Logfiles
@@{ROOT}var/log                   Standard_tests
!@@{ROOT}var/spool/.*                            # too volatile to check at all
=@@{ROOT}tmp                      Perms_only     # check only perms of /tmp.