VFS_AUDIT(8)

πŸŽ€ VFS_AUDIT πŸ’…

okay bestie, so like β€” vfs_audit is the Samba VFS module that records selected VFS operations straight into the system log. basically it's the module that watches what your clients are doing. no cap. πŸ‘€βœ¨


✨ NAME ✨

vfs_audit β€” record selected Samba VFS operations in the system log πŸ“


🌸 SYNOPSIS 🌸

vfs objects = audit

πŸ¦‹ DESCRIPTION πŸ¦‹

so this VFS module is part of the samba(7) suite, right? and what it does is it takes selected client operations and logs them to the system log using syslog(3). it's giving security camera but for your shares. periodt. πŸ’–

here's the tea on which Samba VFS operations get recorded:

  • connect
  • disconnect
  • opendir
  • mkdir
  • rmdir
  • open
  • close
  • rename
  • unlink
  • chmod
  • fchmod

This module is stackable. πŸ”₯ (iykyk)


πŸ‘‘ OPTIONS πŸ‘‘

  • audit:facility = FACILITY β€” sends the log messages to the named syslog(3) facility. you pick which syslog bucket they land in πŸ’Œ
  • audit:priority = PRIORITY β€” logs the messages with the named syslog(3) priority. so like, how loud do you want it ✨

🌈 EXAMPLES 🌈

okay so here's how you log operations on all shares using the LOCAL1 facility and NOTICE priority β€” obsessed with how clean this is:

[global]
vfs objects = audit
audit:facility = LOCAL1
audit:priority = NOTICE

πŸ’œ VERSION πŸ’œ

this man page is part of version 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1 of the Samba suite.


🫢 AUTHOR 🫢

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.


aaaand that's the whole page bestie, slay πŸ’… you now know vfs_audit fr fr. this cutie came to you from Samba 4.24.7-Ubuntu-4.24.7+dfs, dated 09/13/2026 β€” main character energy only πŸŒŸπŸŽ€πŸ’–

πŸ“¦ where this page comes from