mirror of https://gitee.com/openkylin/samba.git
119 lines
2.6 KiB
Groff
119 lines
2.6 KiB
Groff
'\" t
|
|
.\" Title: vfs_audit
|
|
.\" Author: [see the "AUTHOR" section]
|
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
|
.\" Date: 01/28/2020
|
|
.\" Manual: System Administration tools
|
|
.\" Source: Samba 4.11.6
|
|
.\" Language: English
|
|
.\"
|
|
.TH "VFS_AUDIT" "8" "01/28/2020" "Samba 4\&.11\&.6" "System Administration tools"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * Define some portability stuff
|
|
.\" -----------------------------------------------------------------
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.\" http://bugs.debian.org/507673
|
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.\" -----------------------------------------------------------------
|
|
.\" * set default formatting
|
|
.\" -----------------------------------------------------------------
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.\" -----------------------------------------------------------------
|
|
.\" * MAIN CONTENT STARTS HERE *
|
|
.\" -----------------------------------------------------------------
|
|
.SH "NAME"
|
|
vfs_audit \- record selected Samba VFS operations in the system log
|
|
.SH "SYNOPSIS"
|
|
.HP \w'\ 'u
|
|
vfs objects = audit
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
This VFS module is part of the
|
|
\fBsamba\fR(7)
|
|
suite\&.
|
|
.PP
|
|
The
|
|
vfs_audit
|
|
VFS module records selected client operations to the system log using
|
|
\fBsyslog\fR(3)\&.
|
|
.PP
|
|
The following Samba VFS operations are recorded:
|
|
.RS 4
|
|
connect
|
|
.RE
|
|
.RS 4
|
|
disconnect
|
|
.RE
|
|
.RS 4
|
|
opendir
|
|
.RE
|
|
.RS 4
|
|
mkdir
|
|
.RE
|
|
.RS 4
|
|
rmdir
|
|
.RE
|
|
.RS 4
|
|
open
|
|
.RE
|
|
.RS 4
|
|
close
|
|
.RE
|
|
.RS 4
|
|
rename
|
|
.RE
|
|
.RS 4
|
|
unlink
|
|
.RE
|
|
.RS 4
|
|
chmod
|
|
.RE
|
|
.RS 4
|
|
fchmod
|
|
.RE
|
|
.PP
|
|
This module is stackable\&.
|
|
.SH "OPTIONS"
|
|
.PP
|
|
audit:facility = FACILITY
|
|
.RS 4
|
|
Log messages to the named
|
|
\fBsyslog\fR(3)
|
|
facility\&.
|
|
.RE
|
|
.PP
|
|
audit:priority = PRIORITY
|
|
.RS 4
|
|
Log messages with the named
|
|
\fBsyslog\fR(3)
|
|
priority\&.
|
|
.RE
|
|
.SH "EXAMPLES"
|
|
.PP
|
|
Log operations on all shares using the LOCAL1 facility and NOTICE priority:
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
\fI[global]\fR
|
|
\m[blue]\fBvfs objects = audit\fR\m[]
|
|
\m[blue]\fBaudit:facility = LOCAL1\fR\m[]
|
|
\m[blue]\fBaudit:priority = NOTICE\fR\m[]
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.SH "VERSION"
|
|
.PP
|
|
This man page is part of version 4\&.11\&.6 of the Samba suite\&.
|
|
.SH "AUTHOR"
|
|
.PP
|
|
The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
|