public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: Eric Paris <eparis@redhat.com>
Cc: linux-audit@redhat.com
Subject: Re: crond
Date: Wed, 7 Jan 2009 17:52:17 -0500	[thread overview]
Message-ID: <200901071752.17502.sgrubb@redhat.com> (raw)
In-Reply-To: <1231368014.31089.68.camel@localhost.localdomain>

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

  reply	other threads:[~2009-01-07 22:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-07 21:24 crond Starr-Renee Corbin
2009-01-07 22:22 ` crond Steve Grubb
2009-01-07 22:40   ` crond Eric Paris
2009-01-07 22:52     ` Steve Grubb [this message]
2009-01-07 22:59       ` crond Eric Paris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200901071752.17502.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=eparis@redhat.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox