1.\" Copyright (c) 2004 Apple Computer, Inc.
2.\" Copyright (c) 2006 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
--- 10 unchanged lines hidden (view full) ---
21.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27.\" POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\" $P4: //depot/projects/trustedbsd/openbsm/man/audit_control.5#13 $
30.\"
31.Dd January 4, 2006
32.Dt AUDIT_CONTROL 5
33.Os
34.Sh NAME
35.Nm audit_control
36.Nd "contains audit system parameters"
37.Sh DESCRIPTION
--- 24 unchanged lines hidden (view full) ---
62an action cannot be attributed to a specific user.
63.It Va minfree
64The minimum free space required on the file system audit logs are being written to.
65When the free space falls below this limit a warning will be issued.
66Not currently used as the value of 20 percent is chosen by the kernel.
67.It Va policy
68A list of global audit policy flags specifying various behaviors, such as
69fail stop, auditing of paths and arguments, etc.
70.It Va filesz
71Maximum trail size in bytes; if set to a non-0 value, the audit daemon will
72rotate the audit trail file at around this size.
73Sizes less than the minimum trail size (default of 512K) will be rejected as
74invalid.
75If 0, trail files will not be automatically rotated based on file size.
76.El
77.Sh AUDIT FLAGS
78Audit flags are a comma-delimited list of audit classes as defined in the
79.Pa audit_class
80file.
81See
82.Xr audit_class 5
83for details.
84Event classes may be preceded by a prefix which changes their interpretation.
85The following prefixes may be used for each class:
86.Pp
87.Bl -tag -width Ds -compact -offset indent
88.It (none)
89Record both successful and failed events
90.It +
91Record successful events
92.It -
93Record failed events
94.It ^
95Record neither successful nor failed events
96.It ^+
97Do not record successful events
98.It ^-
99Do not record failed events
100.El
101.Sh AUDIT POLICY FLAGS
102The policy flags field is a comma-delimited list of policy flags from the
103following list:
--- 46 unchanged lines hidden (view full) ---
150.Nm
151file:
152.Bd -literal -offset indent
153dir:/var/audit
154flags:lo
155minfree:20
156naflags:lo
157policy:cnt
158filesz:0
159.Ed
160.Pp
161The
162.Va flags
163parameter above specifies the system-wide mask corresponding to login/logout
164events.
165The
166.Va policy
167parameter specifies that the system should neither fail stop nor suspend
168processes when the audit store fills.
169The trail file will not be automatically rotated by the audit daemon based on
170file size.
171.Sh FILES
172.Bl -tag -width "/etc/security/audit_control" -compact
173.It Pa /etc/security/audit_control
174.El
175.Sh SEE ALSO
176.Xr audit_class 5 ,
177.Xr audit_user 5 ,
178.Xr audit 8 ,
--- 13 unchanged lines hidden ---
2.\" Copyright (c) 2006 Robert N. M. Watson
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
--- 10 unchanged lines hidden (view full) ---
21.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27.\" POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\" $P4: //depot/projects/trustedbsd/openbsm/man/audit_control.5#13 $
30.\"
31.Dd January 4, 2006
32.Dt AUDIT_CONTROL 5
33.Os
34.Sh NAME
35.Nm audit_control
36.Nd "contains audit system parameters"
37.Sh DESCRIPTION
--- 24 unchanged lines hidden (view full) ---
62an action cannot be attributed to a specific user.
63.It Va minfree
64The minimum free space required on the file system audit logs are being written to.
65When the free space falls below this limit a warning will be issued.
66Not currently used as the value of 20 percent is chosen by the kernel.
67.It Va policy
68A list of global audit policy flags specifying various behaviors, such as
69fail stop, auditing of paths and arguments, etc.
70.It Va filesz
71Maximum trail size in bytes; if set to a non-0 value, the audit daemon will
72rotate the audit trail file at around this size.
73Sizes less than the minimum trail size (default of 512K) will be rejected as
74invalid.
75If 0, trail files will not be automatically rotated based on file size.
76.El
77.Sh AUDIT FLAGS
78Audit flags are a comma-delimited list of audit classes as defined in the
79.Pa audit_class
80file.
81See
82.Xr audit_class 5
83for details.
84Event classes may be preceded by a prefix which changes their interpretation.
85The following prefixes may be used for each class:
86.Pp
87.Bl -tag -width Ds -compact -offset indent
88.It (none)
89Record both successful and failed events
90.It +
91Record successful events
92.It -
93Record failed events
94.It ^
95Record neither successful nor failed events
96.It ^+
97Do not record successful events
98.It ^-
99Do not record failed events
100.El
101.Sh AUDIT POLICY FLAGS
102The policy flags field is a comma-delimited list of policy flags from the
103following list:
--- 46 unchanged lines hidden (view full) ---
150.Nm
151file:
152.Bd -literal -offset indent
153dir:/var/audit
154flags:lo
155minfree:20
156naflags:lo
157policy:cnt
158filesz:0
159.Ed
160.Pp
161The
162.Va flags
163parameter above specifies the system-wide mask corresponding to login/logout
164events.
165The
166.Va policy
167parameter specifies that the system should neither fail stop nor suspend
168processes when the audit store fills.
169The trail file will not be automatically rotated by the audit daemon based on
170file size.
171.Sh FILES
172.Bl -tag -width "/etc/security/audit_control" -compact
173.It Pa /etc/security/audit_control
174.El
175.Sh SEE ALSO
176.Xr audit_class 5 ,
177.Xr audit_user 5 ,
178.Xr audit 8 ,
--- 13 unchanged lines hidden ---