Audit ConfigurationUser space support for event auditing is installed as part
- of the base &os; operating system. Kernel support can be
- enabled by adding the following line to
+ of the base &os; operating system. Kernel support is available
+ in the GENERIC kernel by default,
+ and &man.auditd.8; can be enabled
+ by adding the following line to
/etc/rc.conf:auditd_enable="YES"
@@ -217,10 +219,7 @@ requirements. -->
Selection expressions are used in a number of places in
the audit configuration to determine which events should be
audited. Expressions contain a list of event classes to
- match, each with a prefix indicating whether matching records
- should be accepted or ignored, and optionally to indicate if
- the entry is intended to match successful or failed
- operations. Selection expressions are evaluated from left to
+ match. Selection expressions are evaluated from left to
right, and two expressions are combined by appending one onto
the other.
@@ -383,10 +382,10 @@ requirements. -->
These audit event classes may be customized by modifying
- the audit_class and audit_
- event configuration files.
+ the audit_class and
+ audit_event configuration files.
- Each audit event class is combined with a prefix
+ Each audit event class may be combined with a prefix
indicating whether successful/failed operations are matched,
and whether the entry is adding or removing matching for the
class and type. summarizes
@@ -650,8 +649,8 @@ trailer,133
Since audit logs may be very large, a subset of records can
be selected using auditreduce. This example
selects all audit records produced for the user
- trhodes stored in
- AUDITFILE:
+ trhodes stored in
+ AUDITFILE:&prompt.root; auditreduce -u trhodes /var/audit/AUDITFILE | praudit
@@ -739,8 +738,8 @@ trailer,133
Automatic rotation of the audit trail file based on file
size is possible using in
- audit.control as described in .
+ audit_control as described in .As audit trail files can become very large, it is often
desirable to compress or otherwise archive trails once they