Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man8/vfs_full_audit.8
Real path: /usr/share/man/man8/vfs_full_audit.8
Zurück
'\" te '\" t .\" Title: vfs_full_audit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> .\" Date: 09/26/2023 .\" Manual: System Administration tools .\" Source: Samba 4.13.17 .\" Language: English .\" .TH "VFS_FULL_AUDIT" 8 "09/26/2023" "Samba 4\&.13\&.17" "System Administration tools" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" vfs_full_audit \- record Samba VFS operations in the system log .SH "SYNOPSIS" .HP \w'\ 'u vfs objects = full_audit .SH "DESCRIPTION" .PP This VFS module is part of the \fBsamba\fR(7) suite\&. .PP The vfs_full_audit VFS module records selected client operations to the system log using \fBsyslog\fR(3)\&. .PP vfs_full_audit is able to record the complete set of Samba VFS operations: .RS 4 aio_force .RE .RS 4 audit_file .RE .RS 4 brl_lock_windows .RE .RS 4 brl_unlock_windows .RE .RS 4 chdir .RE .RS 4 chflags .RE .RS 4 chmod .RE .RS 4 close .RE .RS 4 closedir .RE .RS 4 connect .RE .RS 4 connectpath .RE .RS 4 create_dfs_pathat .RE .RS 4 create_file .RE .RS 4 disconnect .RE .RS 4 disk_free .RE .RS 4 durable_cookie .RE .RS 4 durable_disconnect .RE .RS 4 durable_reconnect .RE .RS 4 fallocate .RE .RS 4 fchmod .RE .RS 4 fchown .RE .RS 4 fdopendir .RE .RS 4 fget_dos_attributes .RE .RS 4 fget_nt_acl_at .RE .RS 4 fgetxattr .RE .RS 4 file_id_create .RE .RS 4 flistxattr .RE .RS 4 fremovexattr .RE .RS 4 fs_capabilities .RE .RS 4 fsctl .RE .RS 4 fset_dos_attributes .RE .RS 4 fset_nt_acl .RE .RS 4 fsetxattr .RE .RS 4 fs_file_id .RE .RS 4 fstat .RE .RS 4 fsync .RE .RS 4 fsync_recv .RE .RS 4 fsync_send .RE .RS 4 ftruncate .RE .RS 4 get_alloc_size .RE .RS 4 get_compression .RE .RS 4 get_dfs_referrals .RE .RS 4 get_dos_attributes .RE .RS 4 get_dos_attributes_recv .RE .RS 4 get_dos_attributes_send .RE .RS 4 getlock .RE .RS 4 get_nt_acl .RE .RS 4 get_quota .RE .RS 4 get_real_filename .RE .RS 4 get_shadow_copy_data .RE .RS 4 getwd .RE .RS 4 getxattr .RE .RS 4 getxattrat_recv .RE .RS 4 getxattrat_send .RE .RS 4 is_offline .RE .RS 4 kernel_flock .RE .RS 4 lchown .RE .RS 4 linkat .RE .RS 4 linux_setlease .RE .RS 4 listxattr .RE .RS 4 lock .RE .RS 4 lseek .RE .RS 4 lstat .RE .RS 4 mkdirat .RE .RS 4 mknodat .RE .RS 4 ntimes .RE .RS 4 offload_read_recv .RE .RS 4 offload_read_send .RE .RS 4 offload_write_recv .RE .RS 4 offload_write_send .RE .RS 4 open .RE .RS 4 pread .RE .RS 4 pread_recv .RE .RS 4 pread_send .RE .RS 4 pwrite .RE .RS 4 pwrite_recv .RE .RS 4 pwrite_send .RE .RS 4 read .RE .RS 4 readdir .RE .RS 4 readdir_attr .RE .RS 4 readlinkat .RE .RS 4 realpath .RE .RS 4 recvfile .RE .RS 4 removexattr .RE .RS 4 renameat .RE .RS 4 rewinddir .RE .RS 4 seekdir .RE .RS 4 sendfile .RE .RS 4 set_compression .RE .RS 4 set_dos_attributes .RE .RS 4 set_offline .RE .RS 4 set_quota .RE .RS 4 setxattr .RE .RS 4 snap_check_path .RE .RS 4 snap_create .RE .RS 4 snap_delete .RE .RS 4 stat .RE .RS 4 statvfs .RE .RS 4 streaminfo .RE .RS 4 strict_lock_check .RE .RS 4 symlinkat .RE .RS 4 sys_acl_blob_get_fd .RE .RS 4 sys_acl_blob_get_file .RE .RS 4 sys_acl_delete_def_file .RE .RS 4 sys_acl_get_fd .RE .RS 4 sys_acl_get_file .RE .RS 4 sys_acl_set_fd .RE .RS 4 sys_acl_set_file .RE .RS 4 telldir .RE .RS 4 translate_name .RE .RS 4 unlinkat .RE .RS 4 write .RE .PP In addition to these operations, vfs_full_audit recognizes the special operation names "all" and "none ", which refer to all the VFS operations and none of the VFS operations respectively\&. .PP vfs_full_audit records operations in fixed format consisting of fields separated by \'|\' characters\&. The format is: .sp .if n \{\ .RS 4 .\} .nf smbd_audit: PREFIX|OPERATION|RESULT|FILE .fi .if n \{\ .RE .\} .PP The record fields are: .RS .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} PREFIX \- the result of the full_audit:prefix string after variable substitutions .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} OPERATION \- the name of the VFS operation .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} RESULT \- whether the operation succeeded or failed .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} FILE \- the name of the file or directory the operation was performed on .RE .sp .RE .PP This module is stackable\&. .SH "OPTIONS" .PP full_audit:prefix = STRING .RS 4 Prepend audit messages with STRING\&. STRING is processed for standard substitution variables listed in \fBsmb.conf\fR(5)\&. The default prefix is "%u|%I"\&. .RE .PP full_audit:success = LIST .RS 4 LIST is a list of VFS operations that should be recorded if they succeed\&. Operations are specified using the names listed above\&. Operations can be unset by prefixing the names with "!"\&. The default is none operations\&. .RE .PP full_audit:failure = LIST .RS 4 LIST is a list of VFS operations that should be recorded if they failed\&. Operations are specified using the names listed above\&. Operations can be unset by prefixing the names with "!"\&. The default is none operations\&. .RE .PP full_audit:facility = FACILITY .RS 4 Log messages to the named \fBsyslog\fR(3) facility\&. .RE .PP full_audit:priority = PRIORITY .RS 4 Log messages with the named \fBsyslog\fR(3) priority\&. .RE .PP full_audit:syslog = true/false .RS 4 Log messages to syslog (default) or as a debug level 1 message\&. .RE .PP full_audit:log_secdesc = true/false .RS 4 Log an sddl form of the security descriptor coming in when a client sets an acl\&. Defaults to false\&. .RE .SH "EXAMPLES" .PP Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including the username and IP address\&. Logging excludes the open VFS function on failures: .sp .if n \{\ .RS 4 .\} .nf \fI[records]\fR \m[blue]\fBpath = /data/records\fR\m[] \m[blue]\fBvfs objects = full_audit\fR\m[] \m[blue]\fBfull_audit:prefix = %u|%I\fR\m[] \m[blue]\fBfull_audit:success = open opendir\fR\m[] \m[blue]\fBfull_audit:failure = all !open\fR\m[] \m[blue]\fBfull_audit:facility = LOCAL7\fR\m[] \m[blue]\fBfull_audit:priority = ALERT\fR\m[] .fi .if n \{\ .RE .\} .SH "VERSION" .PP This man page is part of version 4\&.13\&.17 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\&. .\" Oracle has added the ARC stability level to this manual page .SH ATTRIBUTES See .BR attributes (7) for descriptions of the following attributes: .sp .TS box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability service/network/samba = Stability Volatile .TE .PP .SH NOTES .\" Oracle has added source availability information to this manual page Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source-code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://download.samba.org/pub/samba/stable/samba-4.13.17.tar.gz. Further information about this software can be found on the open source community website at http://www.samba.org/.