How to use exclude directory or file

George Sarker george.n.sarker at gmail.com
Fri May 11 12:01:41 UTC 2018


Hello,

I am trying to exclude a directory and all of its sub-directories and
contents from being audited.

I used this link https://access.redhat.com/solutions/416863

I generated this syntax :

-a never,exclude -F path=/root/test

However, I am still getting audits from scripts generating files within
this path.

Can you suggest a proper configuration for excluding a directory along with
its sub-directories and contents.

We are on RHEL 6.9 and currently our audit version is
: audit-2.4.5-3.el6.x86_64

Thanks for your support!

George Sarker.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20180511/589ab400/attachment.htm>


More information about the Linux-audit mailing list