The main auditctl commands to control basic audit system parameters are:
•
auditctl -e
to enable or disable audit
•
auditctl -f
to control the failure flag
•
auditctl -r
to control the rate limit for audit messages
•
auditctl -b
to control the backlog limit
•
auditctl -s
to query the current status of the audit daemon
The
-e
,
-f
,
-r
, and
-b
options can also be specified in the
audit.rules
file to
avoid having to enter them each time the audit daemon is started.
Any time you query the status of the audit daemon with
auditctl -s
or change the
status flag with
auditctl -e
flag
a status messages including information on each
of the above-mentioned parameters is output. The following example highlights the
typical audit status message.
Example 30.1
Example output of auditctl -s
AUDIT_STATUS: enabled=1 flag=2 pid=3105 rate_limit=0 backlog_limit=8192 lost=0
backlog=0
Table 30.1
Audit Status Flags
Command
Meaning [Possible Values]
Flag
auditctl -e
[0|1]
Set the enable flag. [0..2] 0=disable,
1=enable, 2=enable and lock down the
configuration
enabled
auditctl -f
[0|1|2]
Set the failure flag. [0..2] 0=silent,
1=printk, 2=panic (immediate halt with-
out syncing pending data to disk)
flag
—
Process ID under which auditd is running.
pid
386
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: ......