From mboxrd@z Thu Jan 1 00:00:00 1970 From: LC Bruzenak Subject: Re: ausearch issue? Date: Thu, 11 Jun 2009 10:06:24 -0500 Message-ID: <1244732784.29802.100.camel@homeserver> References: <1244731521.29802.89.camel@homeserver> <200906111053.01454.sgrubb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200906111053.01454.sgrubb@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Steve Grubb Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Thu, 2009-06-11 at 10:53 -0400, Steve Grubb wrote: > On Thursday 11 June 2009 10:45:21 am LC Bruzenak wrote: > > # auditctl -m "`cat e-1-s`" > > # ausearch -ts recent -i -m USER > > > > # ausearch -ts this-week -a 22476 > > > > > > in the raw log: > > node=slim type=USER msg=audit(1244730722.536:22476): user pid=16700 > > uid=0 auid=500 ses=1 subj=user_u:user_r:user_t:s0 msg='node=jim > > type=PATH msg=audit(06/08/2009 13:33:50.101:19267) : item=4 > > name=/var/lib/ntp/drift inode=115581 dev=fd:00 mode=file,644 ouid=ntp > > ogid=ntp rdev=00:00 obj=system_u:object_r:ntp_drift_t:s0 : > > exe="/usr/local/sbin/auditctl" (hostname=?, addr=?, terminal=pts/13 > > res=success)' > > > > Any clues? > > When ausearch finds a malformed record, it discards it as a safety measure. > > -Steve OK; fair enough. I HATE that the parser is so ...smart... :/ I really wanted this in there and be able to extract it later. Oh well, option C... Thx, LCB. -- LC (Lenny) Bruzenak lenny@magitekltd.com