1.\" Copyright (c) 2004-2009 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.\" 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 20.\" DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 21.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" |
28.\" $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.8#15 $ |
29.\" |
30.Dd January 29, 2009 |
31.Dt AUDIT 8 32.Os 33.Sh NAME 34.Nm audit 35.Nd audit management utility 36.Sh SYNOPSIS 37.Nm |
38.Fl e | i | n | s | t |
39.Sh DESCRIPTION 40The 41.Nm 42utility controls the state of the audit system. 43One of the following flags is required as an argument to 44.Nm : 45.Bl -tag -width indent |
46.It Fl e 47Forces the audit system to immediately remove audit log files that 48meet the expiration criteria specified in the audit control file without 49doing a log rotation. |
50.It Fl i 51Initializes and starts auditing. 52This option is currently for Mac OS X only 53and requires 54.Xr auditd 8 55to be configured to run under 56.Xr launchd 8 . 57.It Fl n 58Forces the audit system to close the existing audit log file and rotate to 59a new log file in a location specified in the audit control file. |
60Also, audit log files that meet the expiration criteria specified in the 61audit control file will be removed. |
62.It Fl s 63Specifies that the audit system should [re]synchronize its 64configuration from the audit control file. 65A new log file will be created. 66.It Fl t 67Specifies that the audit system should terminate. 68Log files are closed 69and renamed to indicate the time of the shutdown. --- 38 unchanged lines hidden --- |