To tell AIDE which attributes of which files should be checked, a configuration file
must be created. Find an example configuration at
/etc/aide.conf
. This file is
also a template and may be modified to create the actually used configuration. The first
section of the configuration handles general configuration parameters like the location
of the AIDE database file. More interesting for your local configurations are the
Custom
Rules
and the
Directories and Files
sections. A typical rule looks like the
following:
Binlib
= p+i+n+u+g+s+b+m+c+md5+sha1
After defining the variable
Binlib
, the respective checking options are used in the
files section. Important options include the following:
Table 13.1
Important AIDE Checking Options
Description
Option
Check for the file permissions of the selected files or directories.
p
Check for the inode number. Every filename has a unique inode
number that should not change.
i
Check for the number of links pointing to the respective file.
n
Check if the owner of the file changed.
u
Check if the group of the file changed.
g
Check if the file size changed.
s
Check if the block count used by the file changed.
b
Check if the modification time of the file changed.
m
Check if the files access time changed.
c
Check if the md5 checksum of the file changed.
md5
Check if the sha1 (160 Bit) checksum of the file changed.
sha1
154
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: ......