From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: How to use exclude directory or file Date: Fri, 11 May 2018 09:55:25 -0400 Message-ID: <7752659.zZDmzD34OK@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: George Sarker List-Id: linux-audit@redhat.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.