Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Roger Holm <roger.holm@bwin.org>
Subject: Re: Audit rule problem
Date: Thu, 19 Jul 2007 09:17:49 -0400	[thread overview]
Message-ID: <200707190917.49228.sgrubb@redhat.com> (raw)
In-Reply-To: <18E448B8ECD0894EBB7498C0B0A53D1A012653C0@EX01.ongame.com>

On Tuesday 17 July 2007 10:05:12 Roger Holm wrote:
> I want to log if someone uses the rpm command (to install/upgrade
> packages), but not the rest of commands. Only the rpm command!

Sure:

-w /bin/rpm -p x -k rpm-is-running

I added the key to make searching for the results easier. It also helps you 
know why the audit record was logged.

-Steve

  reply	other threads:[~2007-07-19 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17 14:05 Audit rule problem Roger Holm
2007-07-19 13:17 ` Steve Grubb [this message]
2007-07-19 17:59 ` Valdis.Kletnieks
  -- strict thread matches above, loose matches on Subject: below --
2017-11-15  0:38 audit " LC Bruzenak
2017-11-15 17:06 ` LC Bruzenak
2017-11-15 17:16   ` Steve Grubb
2017-11-15 17:20     ` LC Bruzenak

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=200707190917.49228.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=roger.holm@bwin.org \
    /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