
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
Содержание LINUX ENTERPRISE DESKTOP 11
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Страница 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Страница 10: ......
Страница 29: ...Part I Authentication...
Страница 30: ......
Страница 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Страница 126: ......
Страница 127: ...Part II Local Security...
Страница 128: ......
Страница 158: ......
Страница 173: ...Part III Network Security...
Страница 174: ......
Страница 194: ......
Страница 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Страница 210: ......
Страница 228: ......
Страница 229: ...Part IV Confining Privileges with Novell AppArmor...
Страница 230: ......
Страница 274: ......
Страница 300: ......
Страница 328: ......
Страница 340: ......
Страница 342: ......
Страница 386: ......
Страница 387: ...Part V The Linux Audit Framework...
Страница 388: ......