From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: George Sarker <george.n.sarker@gmail.com>
Subject: Re: How to use exclude directory or file
Date: Fri, 11 May 2018 09:55:25 -0400 [thread overview]
Message-ID: <7752659.zZDmzD34OK@x2> (raw)
In-Reply-To: <CALcifAh7e4OdXqnh31exmxn7bjLe7UD9v11dBqx2d-eq=k_M+A@mail.gmail.com>
On Friday, May 11, 2018 8:01:41 AM EDT George Sarker wrote:
> 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
Have you tried -a always,exclude -F path=/root/test ?
-Steve
> 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 prev parent reply other threads:[~2018-05-11 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 12:01 How to use exclude directory or file George Sarker
2018-05-11 13:55 ` Steve Grubb [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-05-11 13:46 George Sarker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7752659.zZDmzD34OK@x2 \
--to=sgrubb@redhat.com \
--cc=george.n.sarker@gmail.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox