From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: crond Date: Wed, 7 Jan 2009 17:52:17 -0500 Message-ID: <200901071752.17502.sgrubb@redhat.com> References: <2B0B840A-94CA-4D42-92B9-34BD537185DB@arlut.utexas.edu> <200901071722.41310.sgrubb@redhat.com> <1231368014.31089.68.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1231368014.31089.68.camel@localhost.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Eric Paris Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Wednesday 07 January 2009 05:40:14 pm Eric Paris wrote: > in man auditctl you talk about the "exclude" list. Yes, I thought about that, too. This is what you have to work with: type=USER_START msg=audit(1231365661.252:161): user pid=4681 uid=0 auid=0 ses=14 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 This part is a string and cannot be matched against: msg='op=PAM:session_open acct="root" exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' If the type filter allows matching by selinux context, then you might be able to say: -a always,exclude -F msgtype=USER_START -F auid=0 -F subj_type=crond_t -Steve