Is your old account not working? Don't panic, please register again!

*New 11.4 series Release:
2020-05-29: XigmaNAS 11.4.0.4.8453 - released!

*New 12.2 series Release:
2021-05-31: XigmaNAS 12.2.0.4.8458- released!

We really need "Your" help on XigmaNAS Language https://translations.launchpad.net/xigmanas packages. Please help us today!

XigmaNAS talks on IRC https://web.libera.chat/#xigmanas, ircs://irc.libera.chat:6697 (TLS) or irc://irc.libera.chat:6667 (plain text)

[Howto] audit files with NAS4free

Only Admin's or Moderators can move thread's to this sub-forum.
Nobody should start a new thread on this sub-forum.
Anybody can reply to a thread on this sub-forum.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Hiji56
Advanced User
Advanced User
Posts: 170
Joined: Feb 13th, '21, 11:33
Status: Offline

[Howto] audit files with NAS4free

#1

Post by Hiji56 »

"
by mercurus»23 Jan 2013 00:47
Can I audit files when using cifs/samba service? Where and how do I enable audit daemon?
I am using NAS4FRee 9.1.0.1. version.
"
"
by mercurus»27 Jan 2013 22:02
I finally realized that Samba performs auditing files, and I found an example on this
website: ""http://mbakopoulos.wordpress.com/2012/0 ... ull_audit/""
If anyone's interested, here's a quick guide:
1. Add these lines in ""Auxiliary parameters"" window (accessible through web browser menu - Services | CIFS/SMB | Settings):
# Audit settings
full_audit: prefix =% u |% I
full_audit: failure = Connect
full_audit: success = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod
fchmod chown fchown CHDIR ftruncate lock symlink readlink link mknod realpath
full_audit: facility = local5
full_audit: priority = notice
1. To each share where file audit is needed add this line in ""Auxiliary parameters"" window (shares are accessible through web browser menu - Services | CIFS/SMB | Share | Edit):
vfs object = full_audit
1. Audit logs are going to system logger in this example (full_audit: facility = local5)
- location of the system logger in NAS4Free is: /var/log/system.log
P.S. thanks for help
"
"
by raulfg3»27 Jan 2013 22:42
mercurus wrote:P.S. thanks for help
sorry if we do not know the answer, but thanks to share, now others with same question can find your answer.
"
Post Reply