| 1 |
'\" t |
| 2 |
.\" Title: vfs_audit |
| 3 |
.\" Author: [see the "AUTHOR" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
| 5 |
.\" Date: 05/26/2026 |
| 6 |
.\" Manual: System Administration tools |
| 7 |
.\" Source: Samba 4.23.8-git.477.f78166bceedSUSE-oS16.9-x86_64 |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "VFS_AUDIT" "8" "05/26/2026" "Samba 4\&.23\&.8\-git\&.477\&.f78166bcee" "System Administration tools" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
vfs_audit \- record selected Samba VFS operations in the system log |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\ 'u |
| 34 |
vfs objects = audit |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.PP |
| 37 |
This VFS module is part of the |
| 38 |
\fBsamba\fR(7) |
| 39 |
suite\&. |
| 40 |
.PP |
| 41 |
The |
| 42 |
vfs_audit |
| 43 |
VFS module records selected client operations to the system log using |
| 44 |
\fBsyslog\fR(3)\&. |
| 45 |
.PP |
| 46 |
The following Samba VFS operations are recorded: |
| 47 |
.RS 4 |
| 48 |
connect |
| 49 |
.RE |
| 50 |
.RS 4 |
| 51 |
disconnect |
| 52 |
.RE |
| 53 |
.RS 4 |
| 54 |
opendir |
| 55 |
.RE |
| 56 |
.RS 4 |
| 57 |
mkdir |
| 58 |
.RE |
| 59 |
.RS 4 |
| 60 |
rmdir |
| 61 |
.RE |
| 62 |
.RS 4 |
| 63 |
open |
| 64 |
.RE |
| 65 |
.RS 4 |
| 66 |
close |
| 67 |
.RE |
| 68 |
.RS 4 |
| 69 |
rename |
| 70 |
.RE |
| 71 |
.RS 4 |
| 72 |
unlink |
| 73 |
.RE |
| 74 |
.RS 4 |
| 75 |
chmod |
| 76 |
.RE |
| 77 |
.RS 4 |
| 78 |
fchmod |
| 79 |
.RE |
| 80 |
.PP |
| 81 |
This module is stackable\&. |
| 82 |
.SH "OPTIONS" |
| 83 |
.PP |
| 84 |
audit:facility = FACILITY |
| 85 |
.RS 4 |
| 86 |
Log messages to the named |
| 87 |
\fBsyslog\fR(3) |
| 88 |
facility\&. |
| 89 |
.RE |
| 90 |
.PP |
| 91 |
audit:priority = PRIORITY |
| 92 |
.RS 4 |
| 93 |
Log messages with the named |
| 94 |
\fBsyslog\fR(3) |
| 95 |
priority\&. |
| 96 |
.RE |
| 97 |
.SH "EXAMPLES" |
| 98 |
.PP |
| 99 |
Log operations on all shares using the LOCAL1 facility and NOTICE priority: |
| 100 |
.sp |
| 101 |
.if n \{\ |
| 102 |
.RS 4 |
| 103 |
.\} |
| 104 |
.nf |
| 105 |
\fI[global]\fR |
| 106 |
\m[blue]\fBvfs objects = audit\fR\m[] |
| 107 |
\m[blue]\fBaudit:facility = LOCAL1\fR\m[] |
| 108 |
\m[blue]\fBaudit:priority = NOTICE\fR\m[] |
| 109 |
.fi |
| 110 |
.if n \{\ |
| 111 |
.RE |
| 112 |
.\} |
| 113 |
.SH "VERSION" |
| 114 |
.PP |
| 115 |
This man page is part of version 4\&.23\&.8\-git\&.477\&.f78166bceedSUSE\-oS16\&.9\-x86_64 of the Samba suite\&. |
| 116 |
.SH "AUTHOR" |
| 117 |
.PP |
| 118 |
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\&. |