public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: auditing files which are executed?
Date: Fri, 18 Jan 2008 21:02:48 -0500	[thread overview]
Message-ID: <200801182102.48410.sgrubb@redhat.com> (raw)
In-Reply-To: <249DC7180F301445BCA2E01EAAFDF40908F9594E@emss04m05.us.lmco.com>

On Friday 18 January 2008 18:32:57 Brennan, William C wrote:
> Okay, that's valuable, but I see I did not describe my problem precisely
> enough.  Let me try this again.  How do I configure parameters for
> auditctl to make an audit record every time a PARTICULAR file is
> executed?

You use file watches:

auditctl  -w /usr/sbin/stunnel  -p x  -k my-file-is-executed

There are examples of this in the CAPP & LSPP rules. You can find this 
by 'rpm -ql audit | grep lspp'

-Steve

  reply	other threads:[~2008-01-19  2:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 22:45 auditing files which are executed? Brennan, William C
2008-01-18 22:49 ` Matthew Booth
2008-01-18 23:32   ` Brennan, William C
2008-01-19  2:02     ` Steve Grubb [this message]
2008-01-21 17:08       ` Brennan, William C

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=200801182102.48410.sgrubb@redhat.com \
    --to=sgrubb@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