1AUDITD(8) System Administration Utilities AUDITD(8)
2
3
4
6 auditd - The Linux Audit daemon
7
9 auditd [-f] [-l] [-n] [-s disable|enable|nochange]
10
12 auditd is the userspace component to the Linux Auditing System. It's
13 responsible for writing audit records to the disk. Viewing the logs is
14 done with the ausearch or aureport utilities. Configuring the audit
15 system or loading rules is done with the auditctl utility. During
16 startup, the rules in /etc/audit/audit.rules are read by auditctl and
17 loaded into the kernel. Alternately, there is also an augenrules pro‐
18 gram that reads rules located in /etc/audit/rules.d/ and compiles them
19 into an audit.rules file. The audit daemon itself has some configura‐
20 tion options that the admin may wish to customize. They are found in
21 the auditd.conf file.
22
24 -f leave the audit daemon in the foreground for debugging. Messages
25 also go to stderr rather than the audit log.
26
27 -l allow the audit daemon to follow symlinks for config files.
28
29 -n no fork. This is useful for running off of inittab or systemd.
30
31 -s=ENABLE_STATE
32 specify when starting if auditd should change the current value
33 for the kernel enabled flag. Valid values for ENABLE_STATE are
34 "disable", "enable" or "nochange". The default is to enable (and
35 disable when auditd terminates). The value of the enabled flag
36 may be changed during the lifetime of auditd using 'auditctl
37 -e'.
38
40 SIGHUP causes auditd to reconfigure. This means that auditd re-reads
41 the configuration file. If there are no syntax errors, it will
42 proceed to implement the requested changes. If the reconfigure
43 is successful, a DAEMON_CONFIG event is recorded in the logs. If
44 not successful, error handling is controlled by
45 space_left_action, admin_space_left_action, disk_full_action,
46 and disk_error_action parameters in auditd.conf.
47
48
49 SIGTERM
50 caused auditd to discontinue processing audit events, write a
51 shutdown audit event, and exit.
52
53
54 SIGUSR1
55 causes auditd to immediately rotate the logs. It will consult
56 the max_log_size_action to see if it should keep the logs or
57 not.
58
59
60 SIGUSR2
61 causes auditd to attempt to resume logging. This is usually
62 needed after logging has been suspended.
63
64
66 /etc/audit/auditd.conf - configuration file for audit daemon
67
68 /etc/audit/audit.rules - audit rules to be loaded at startup
69
70 /etc/audit/rules.d/ - directory holding individual sets of rules to be
71 compiled into one file by augenrules.
72
73
75 A boot param of audit=1 should be added to ensure that all processes
76 that run before the audit daemon starts is marked as auditable by the
77 kernel. Not doing that will make a few processes impossible to properly
78 audit.
79
80 The audit daemon can receive audit events from other audit daemons via
81 the audisp-remote audispd plugin. The audit daemon may be linked with
82 tcp_wrappers to control which machines can connect. If this is the
83 case, you can add an entry to hosts.allow and deny.
84
85
87 auditd.conf(5), audispd(8), ausearch(8), aureport(8), auditctl(8),
88 augenrules(8), audit.rules(7).
89
90
92 Steve Grubb
93
94
95
96Red Hat Sept 2013 AUDITD(8)