This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
файловый_сервер_samba [2024/05/31 08:25] val |
файловый_сервер_samba [2024/10/15 09:52] (current) val [Мониторинг активности пользователей] |
||
---|---|---|---|
Line 268: | Line 268: | ||
===== Мониторинг активности пользователей ===== | ===== Мониторинг активности пользователей ===== | ||
+ | |||
+ | <code> | ||
+ | # smbstatus | ||
+ | </code> | ||
* [[https://moiristo.wordpress.com/2009/08/10/samba-logging-user-activity/|Samba: Logging User Activity]] !!! аудит можно настроить глобально или, на конкретном ресурсе !!! | * [[https://moiristo.wordpress.com/2009/08/10/samba-logging-user-activity/|Samba: Logging User Activity]] !!! аудит можно настроить глобально или, на конкретном ресурсе !!! | ||
Line 277: | Line 281: | ||
vfs objects = full_audit | vfs objects = full_audit | ||
full_audit:prefix = %U|%u|%I|%m|%S | full_audit:prefix = %U|%u|%I|%m|%S | ||
- | full_audit:success = unlink open | + | full_audit:success = connect, open, mkdir, rmdir, unlink, write, rename |
full_audit:failure = none | full_audit:failure = none | ||
full_audit:priority = NOTICE | full_audit:priority = NOTICE |