Figure 5-72: Audit User Space Components

5.6.2Audit operation and configuration options

5.6.2.1Configuration

There are many ways to control the operation of the audit subsystem. The controls are available at compilation time, boot time, daemon startup time, and while the daemon is running.

At compilation time, SLES kernel provides three kernel configuration options that control the level of audit support compiled into the kernel. The options are:

CONFIG_AUDIT: This enables the base level of audit support.

CONFIG_AUDITSYSCALL: This enables the ptrace hooks for the full syscall audit trace. The currently supported architectures include X86, PPC64, S390x, IA64, X86_64.

CONFIG_AUDITFILESYSTEM: This enables file system auditing.

At boot time, LAF provides the option audit, which enables the system call and file system auditing support. If audit is set to 1, system call and file system auditing are enabled; otherwise, both system call and file system auditing are disabled. After the system is up and running, the administrator has the ability to enable and disable syscall and file system auditing by using auditctl with the –eoption.

On startup, auditd reads the /etc/auditd.conf file, which holds options that can be set by the administrator to control the behavior of the daemon. Table 5-2lists the various configuration options. In addition, auditd reads /etc/audit.rules file, which holds any command supported by auditctl. The auditd and auditctl man pages give more detailed info.

137

Page 149
Image 149
IBM 10 SP1 EAL4 manual Audit operation and configuration options, Configuration