key
If you are auditing a large number of directories or files, assign key strings each
of these watches. You can use these keys with
ausearch
to search the logs for
events of this type only.
The second message triggered by the example
less
call does not reveal anything apart
from just the current working directory when the
less
command was executed.
The third message reveals the following (the
type
and
message
flags have already
been introduced):
item
In this example,
item
references the
a0
argument—a path—that is associated
with the original
SYSCALL
message. Had the original call had more than one path
argument (such as a
cp
or
mv
command), an additional
PATH
event would have
been logged for the second path argument.
name
Refers to the pathname passed as an argument to the
less
(or
open
) call.
inode
Refers to the inode number corresponding to
name
.
dev
Specifies the device on which the file is stored. In this case,
03:01
, which stands
for
/dev/sda1
or “first partition on the first IDE device.”
mode
Numerical representation of the file's access permissions. In this case,
root
has
read and write permissions and his group (
root
) has read access while the entire
rest of the world cannot access the file at all.
ouid
and
ogid
Refer to the UID and GID of the inode itself.
rdev
Not applicable for this example. The
rdev
entry only applies to block or character
devices, not to files.
Understanding Linux Audit
395
Содержание 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: ......