xref: /freebsd/contrib/openbsm/bin/audit/audit.8 (revision 742561f0d7f17fb93b895617da2bc1770f43d101)
1ca0716f5SRobert Watson.\" Copyright (c) 2004 Apple Computer, Inc.
2ca0716f5SRobert Watson.\" All rights reserved.
3ca0716f5SRobert Watson.\"
4ca0716f5SRobert Watson.\" @APPLE_BSD_LICENSE_HEADER_START@
5ca0716f5SRobert Watson.\"
6ca0716f5SRobert Watson.\" Redistribution and use in source and binary forms, with or without
7ca0716f5SRobert Watson.\" modification, are permitted provided that the following conditions
8ca0716f5SRobert Watson.\" are met:
9ca0716f5SRobert Watson.\"
10ca0716f5SRobert Watson.\" 1.  Redistributions of source code must retain the above copyright
11ca0716f5SRobert Watson.\"     notice, this list of conditions and the following disclaimer.
12ca0716f5SRobert Watson.\" 2.  Redistributions in binary form must reproduce the above copyright
13ca0716f5SRobert Watson.\"     notice, this list of conditions and the following disclaimer in the
14ca0716f5SRobert Watson.\"     documentation and/or other materials provided with the distribution.
15ca0716f5SRobert Watson.\" 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
16ca0716f5SRobert Watson.\"     its contributors may be used to endorse or promote products derived
17ca0716f5SRobert Watson.\"     from this software without specific prior written permission.
18ca0716f5SRobert Watson.\"
19ca0716f5SRobert Watson.\" THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
20ca0716f5SRobert Watson.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21ca0716f5SRobert Watson.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22ca0716f5SRobert Watson.\" DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
23ca0716f5SRobert Watson.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24ca0716f5SRobert Watson.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25ca0716f5SRobert Watson.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26ca0716f5SRobert Watson.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27ca0716f5SRobert Watson.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28ca0716f5SRobert Watson.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29ca0716f5SRobert Watson.\"
30ca0716f5SRobert Watson.\" @APPLE_BSD_LICENSE_HEADER_END@
31ca0716f5SRobert Watson.\"
32742561f0SRobert Watson.\" $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.8#4 $
33ca0716f5SRobert Watson.\"
34ca0716f5SRobert Watson.Dd Jan 24, 2004
35ca0716f5SRobert Watson.Dt AUDIT 8
36ca0716f5SRobert Watson.Os
37ca0716f5SRobert Watson.Sh NAME
38ca0716f5SRobert Watson.Nm audit
39ca0716f5SRobert Watson.Nd audit management utility
40ca0716f5SRobert Watson.Sh SYNOPSIS
41ca0716f5SRobert Watson.Nm audit
42ca0716f5SRobert Watson.Op Fl nst
43ca0716f5SRobert Watson.Op Ar file
44ca0716f5SRobert Watson.Sh DESCRIPTION
45ca0716f5SRobert WatsonThe
46ca0716f5SRobert Watson.Nm
47742561f0SRobert Watsonutility controls the state of the audit system.
48742561f0SRobert WatsonThe optional
49ca0716f5SRobert Watson.Ar file
50ca0716f5SRobert Watsonoperand specifies the location of the audit control input file (default
51742561f0SRobert Watson.Pa /etc/security/audit_control ).
52ca0716f5SRobert Watson.Pp
53ca0716f5SRobert WatsonThe options are as follows:
54ca0716f5SRobert Watson.Bl -tag -width Ds
55ca0716f5SRobert Watson.It Fl n
56ca0716f5SRobert WatsonForces the audit system to close the existing audit log file and rotate to
57ca0716f5SRobert Watsona new log file in a location specified in the audit control file.
58ca0716f5SRobert Watson.It Fl s
59ca0716f5SRobert WatsonSpecifies that the audit system should [re]synchronize its
60742561f0SRobert Watsonconfiguration from the audit control file.
61742561f0SRobert WatsonA new log file will be created.
62ca0716f5SRobert Watson.It Fl t
63742561f0SRobert WatsonSpecifies that the audit system should terminate.
64742561f0SRobert WatsonLog files are closed
65ca0716f5SRobert Watsonand renamed to indicate the time of the shutdown.
66ca0716f5SRobert Watson.El
67ca0716f5SRobert Watson.Sh NOTES
68ca0716f5SRobert WatsonThe auditd(8) daemon must already be running.
69ca0716f5SRobert Watson.Sh FILES
70ca0716f5SRobert Watson.Bl -tag -width "/etc/security/audit_control" -compact
71ca0716f5SRobert Watson.It Pa /etc/security/audit_control
72ca0716f5SRobert WatsonDefault audit policy file used to configure the auditing system.
73ca0716f5SRobert Watson.El
74ca0716f5SRobert Watson.Sh SEE ALSO
75ca0716f5SRobert Watson.Xr auditd 8
76ca0716f5SRobert Watson.Xr audit_control 5
77ca0716f5SRobert Watson.Sh AUTHORS
78ca0716f5SRobert WatsonThis software was created by McAfee Research, the security research division
79ca0716f5SRobert Watsonof McAfee, Inc., under contract to Apple Computer Inc.
80ca0716f5SRobert WatsonAdditional authors include Wayne Salamon, Robert Watson, and SPARTA Inc.
81ca0716f5SRobert Watson.Pp
82ca0716f5SRobert WatsonThe Basic Security Module (BSM) interface to audit records and audit event
83ca0716f5SRobert Watsonstream format were defined by Sun Microsystems.
84ca0716f5SRobert Watson.Sh HISTORY
85ca0716f5SRobert WatsonThe OpenBSM implementation was created by McAfee Research, the security
86ca0716f5SRobert Watsondivision of McAfee Inc., under contract to Apple Computer Inc. in 2004.
87ca0716f5SRobert WatsonIt was subsequently adopted by the TrustedBSD Project as the foundation for
88ca0716f5SRobert Watsonthe OpenBSM distribution.
89