All of lore.kernel.org
 help / color / mirror / Atom feed
* Question - Rule Syntax
@ 2011-12-22 21:19 Bryan Jacobs
  2011-12-29 14:10 ` Trevor Vaughan
  2012-01-03 14:13 ` Steve Grubb
  0 siblings, 2 replies; 4+ messages in thread
From: Bryan Jacobs @ 2011-12-22 21:19 UTC (permalink / raw)
  To: linux-audit

All,

New auditd list member here.  I just started playing around with auditd. 
I was wondering if someone might be kind enough to answer a question I 
have. 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?  If not how would I audit all users 
with UID above 500 but still ignore one particular user?


Thank you and happy holidays,

-- 
BKJ


----------------------------------------------------
Virus Free -- Scanned By MailSecurity
----------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the author, except where the sender specifically states them to be the views of BBG, Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-03 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-22 21:19 Question - Rule Syntax Bryan Jacobs
2011-12-29 14:10 ` Trevor Vaughan
2011-12-30  1:32   ` Bryan Jacobs
2012-01-03 14:13 ` Steve Grubb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.