From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Audit rule problem Date: Thu, 19 Jul 2007 09:17:49 -0400 Message-ID: <200707190917.49228.sgrubb@redhat.com> References: <18E448B8ECD0894EBB7498C0B0A53D1A012653C0@EX01.ongame.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18E448B8ECD0894EBB7498C0B0A53D1A012653C0@EX01.ongame.com> 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: linux-audit@redhat.com Cc: Roger Holm List-Id: linux-audit@redhat.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