From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: How to exclude directories from auditing? Date: Fri, 25 Oct 2013 08:44:04 -0400 Message-ID: <2203954.683M6v4bvP@x2> References: <526A47C7.7050901@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <526A47C7.7050901@gmail.com> 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 List-Id: linux-audit@redhat.com On Friday, October 25, 2013 06:28:23 AM Leam Hall wrote: > I know you can specify certain directories to watch. Is there a way to > exclude sub-directories? > > Pointers to docs are appreciated; I have a lot to learn! Something like this should work: -a never,exit -F dir=/var Remember first match wins. Exclusions should come before other rules. -Steve