This will create a new database at the location specified as
database_out
in the
configuration file. By default, this is
/var/lib/aide/aide.db.new
. If you want
to check if all of your configuration worked as expected, you can open this database
file in a text viewer. Each of the checked files should appear at the beginning of a line
in this file.
Finally, copy the generated database to a save location like a CD-R, a remote Server
or an USB disk for later use.
13.2 Local AIDE Checks
Before you can run AIDE checks on your system, the first thing you have to do is to
rename the database. By default, this is done with the command:
mv /var/lib/aide/aide.db.new /var/lib/aide/aide.db
After any configuration change, you always have to reinitialize the AIDE database and
subsequently move the newly generated database. It is also a good idea to make a
backup of this database.
The actual check if there were changes to the system is simple. Just run the command
aide --check
. If the output is empty, everything is fine. If AIDE found changes,
you will be displayed a summary of changes like the following:
aide --check
AIDE found differences between database and filesystem!!
Summary:
Total number of files:
1992
Added files:
0
Removed files:
0
Changed files:
1
To learn about the actual changes, increase the verbose level of the check with the pa-
rameter
-V
. For the previous example, this could look like the following:
156
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......