From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Question - Rule Syntax Date: Tue, 3 Jan 2012 09:13:15 -0500 Message-ID: <201201030913.15828.sgrubb@redhat.com> References: <4EF39EE6.3020808@builtbygeek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EF39EE6.3020808@builtbygeek.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 Thursday, December 22, 2011 04:19:34 PM Bryan Jacobs wrote: > I am attempting to create a rule that will audit privileged > commands for UID's greater than 500 but ignore one particular user that > falls under this rule. The user I am trying to ignore is the only user > that should be touching the file. > > Below is the rule. > > #### BEGIN RULE SNIP #### > > ## Ensure auditd Collects Information on the Use of Privileged Commands > > -a always,exit -F path=/opt/varonis1.6.0106/bin/ls -F perm=x -F > auid>=500 -F auid!=4294967295 -F auid!=505 -k privileged > > #### END RULE SNIP #### > > Is the rule syntax above correct? This looks correct to me. -Steve