xref: /freebsd/contrib/openbsm/man/audit_warn.5 (revision aa0a1e58)
1.\" Copyright (c) 2004 Apple Inc.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1.  Redistributions of source code must retain the above copyright
8.\"     notice, this list of conditions and the following disclaimer.
9.\" 2.  Redistributions in binary form must reproduce the above copyright
10.\"     notice, this list of conditions and the following disclaimer in the
11.\"     documentation and/or other materials provided with the distribution.
12.\" 3.  Neither the name of Apple Inc. ("Apple") nor the names of
13.\"     its contributors may be used to endorse or promote products derived
14.\"     from this software without specific prior written permission.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR
20.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
24.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
25.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26.\" POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $P4: //depot/projects/trustedbsd/openbsm/man/audit_warn.5#10 $
29.\"
30.Dd March 17, 2004
31.Dt AUDIT_WARN 5
32.Os
33.Sh NAME
34.Nm audit_warn
35.Nd "alert when audit daemon issues warnings"
36.Sh DESCRIPTION
37The
38.Nm
39script
40runs when
41.Xr auditd 8
42generates warning messages.
43.Pp
44The default
45.Nm
46is a script whose first parameter is the type of warning; the script
47appends its arguments to
48.Pa /etc/security/audit_messages .
49Administrators may replace this script: a more comprehensive one would take
50different actions based on the type of warning.
51For example, a low-space warning
52could result in an email message being sent to the administrator.
53.Sh FILES
54.Bl -tag -width ".Pa /etc/security/audit_messages" -compact
55.It Pa /etc/security/audit_warn
56.It Pa /etc/security/audit_messages
57.El
58.Sh SEE ALSO
59.Xr audit 4 ,
60.Xr auditd 8
61.Sh HISTORY
62The OpenBSM implementation was created by McAfee Research, the security
63division of McAfee Inc., under contract to Apple Computer Inc.\& in 2004.
64It was subsequently adopted by the TrustedBSD Project as the foundation for
65the OpenBSM distribution.
66.Sh AUTHORS
67.An -nosplit
68This software was created by McAfee Research, the security research division
69of McAfee, Inc., under contract to Apple Computer Inc.
70Additional authors include
71.An Wayne Salamon ,
72.An Robert Watson ,
73and SPARTA Inc.
74.Pp
75The Basic Security Module (BSM) interface to audit records and audit event
76stream format were defined by Sun Microsystems.
77