1.\" Copyright (c) 2004 Apple 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.
--- 11 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#20 $
30.\"
31.Dd January 4, 2006
32.Dt AUDIT_CONTROL 5
33.Os
34.Sh NAME
35.Nm audit_control
36.Nd "audit system parameters"
37.Sh DESCRIPTION
38The
39.Nm
--- 41 unchanged lines hidden (view full) ---
81A list of global audit policy flags specifying various behaviors, such as
82fail stop, auditing of paths and arguments, etc.
83.It Va filesz
84Maximum trail size in bytes; if set to a non-0 value, the audit daemon will
85rotate the audit trail file at around this size.
86Sizes less than the minimum trail size (default of 512K) will be rejected as
87invalid.
88If 0, trail files will not be automatically rotated based on file size.
89.El
90.Sh AUDIT FLAGS
91Audit flags are a comma-delimited list of audit classes as defined in the
92.Xr audit_class 5
93file.
94Event classes may be preceded by a prefix which changes their interpretation.
95The following prefixes may be used for each class:
96.Pp
--- 68 unchanged lines hidden (view full) ---
165.El
166.Pp
167It is recommended that installations set the
168.Cm cnt
169flag but not
170.Cm ahlt
171flag unless it is intended that audit logs exceeding available disk space
172halt the system.
173.Sh DEFAULT
174The following settings appear in the default
175.Nm
176file:
177.Bd -literal -offset indent
178dir:/var/audit
179flags:lo
180minfree:20
181naflags:lo
182policy:cnt
183filesz:0
184.Ed
185.Pp
186The
187.Va flags
188parameter above specifies the system-wide mask corresponding to login/logout
189events.
190The
191.Va policy
192parameter specifies that the system should neither fail stop nor suspend
193processes when the audit store fills.
194The trail file will not be automatically rotated by the audit daemon based on
195file size.
196.Sh FILES
197.Bl -tag -width ".Pa /etc/security/audit_control" -compact
198.It Pa /etc/security/audit_control
199.El
200.Sh SEE ALSO
201.Xr auditon 2 ,
202.Xr audit 4 ,
203.Xr audit_class 5 ,
--- 20 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.
--- 11 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#20 $
30.\"
31.Dd January 4, 2006
32.Dt AUDIT_CONTROL 5
33.Os
34.Sh NAME
35.Nm audit_control
36.Nd "audit system parameters"
37.Sh DESCRIPTION
38The
39.Nm
--- 41 unchanged lines hidden (view full) ---
81A list of global audit policy flags specifying various behaviors, such as
82fail stop, auditing of paths and arguments, etc.
83.It Va filesz
84Maximum trail size in bytes; if set to a non-0 value, the audit daemon will
85rotate the audit trail file at around this size.
86Sizes less than the minimum trail size (default of 512K) will be rejected as
87invalid.
88If 0, trail files will not be automatically rotated based on file size.
89.El
90.Sh AUDIT FLAGS
91Audit flags are a comma-delimited list of audit classes as defined in the
92.Xr audit_class 5
93file.
94Event classes may be preceded by a prefix which changes their interpretation.
95The following prefixes may be used for each class:
96.Pp
--- 68 unchanged lines hidden (view full) ---
165.El
166.Pp
167It is recommended that installations set the
168.Cm cnt
169flag but not
170.Cm ahlt
171flag unless it is intended that audit logs exceeding available disk space
172halt the system.
173.Sh DEFAULT
174The following settings appear in the default
175.Nm
176file:
177.Bd -literal -offset indent
178dir:/var/audit
179flags:lo
180minfree:20
181naflags:lo
182policy:cnt
183filesz:0
184.Ed
185.Pp
186The
187.Va flags
188parameter above specifies the system-wide mask corresponding to login/logout
189events.
190The
191.Va policy
192parameter specifies that the system should neither fail stop nor suspend
193processes when the audit store fills.
194The trail file will not be automatically rotated by the audit daemon based on
195file size.
196.Sh FILES
197.Bl -tag -width ".Pa /etc/security/audit_control" -compact
198.It Pa /etc/security/audit_control
199.El
200.Sh SEE ALSO
201.Xr auditon 2 ,
202.Xr audit 4 ,
203.Xr audit_class 5 ,
--- 20 unchanged lines hidden ---