All of lore.kernel.org
 help / color / mirror / Atom feed
* The relationship between audit rules
@ 2013-08-21 19:35 zhu xiuming
  2013-08-21 20:00 ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: zhu xiuming @ 2013-08-21 19:35 UTC (permalink / raw)
  To: Linux-audit@redhat.com


[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]

I am little confused by the relationship between audit rules.

I want to log all other users command history and read/write passwd except
me (auid 16382)

However, it seems I have to add -F auid!=16382 on  both rules.

-a always,exit -F arch=b32 -S execve  -k EXEC_log
 -w /etc/passwd           -p wr  -k identity_write

I tried to add following rules "before" the two rules above.
-a never,exit -F auid=16382

However, it does not work at all.

So, the rules in audit rules seem independent from each other.  Am I right?

[-- Attachment #1.2: Type: text/html, Size: 710 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2013-08-21 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 19:35 The relationship between audit rules zhu xiuming
2013-08-21 20:00 ` Steve Grubb
2013-08-21 20:36   ` zhu xiuming
2013-08-21 21:35     ` zhu xiuming

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.