Syslog x Samba VFS audit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Mi, den 09.11.2005 schrieb Marcelo Renan Becher um 19:51:

> Recently I,ve activated the Samba vfs audit module on my CentOS server.
> 
> Then, I configured syslog to save the events, how open files, create 
> directories..  in /var/log/samba/audit.log, but the same information are 
> being stored in /var/log/messages too..
> 
> How I can configure Syslog to store this informations only in messages 
> log file?

I think your question is, how to avoid logging the evens in the messages
syslog file and only to log it into your audit.log.

> Bellow, a part of my syslog.conf
> 
> user.*;user.!warn                              /var/log/samba/audit.log
> 
> *.info;mail.none;local5.none;authpriv.none;cron.none;auth.!=info 
> /var/log/messages

Add "user.none" to the list of facilities.priorities for the
/var/log/messages target.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 20:02:37 up 11 days, 18:02, load average: 0.67, 0.43, 0.24 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.centos.org/pipermail/centos/attachments/20051109/f33e7e4f/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux