From mboxrd@z Thu Jan 1 00:00:00 1970 From: LC Bruzenak Subject: ausearch notes Date: Fri, 30 May 2008 16:12:25 -0500 Message-ID: <1212181945.6572.35.camel@homeserver> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m4ULCq35009816 for ; Fri, 30 May 2008 17:12:52 -0400 Received: from magi (rrcs-24-242-137-197.sw.biz.rr.com [24.242.137.197]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m4ULCfaD003957 for ; Fri, 30 May 2008 17:12:41 -0400 Received: from [24.242.137.194] (helo=[192.168.30.40]) by magi with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1K2Bsj-0003BQ-M2 for linux-audit@redhat.com; Fri, 30 May 2008 16:11:25 -0500 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 List-Id: linux-audit@redhat.com audit-1.7.4-1.fc9.x86_64 The "-i" flag on ausearch appears to remove the "node=" info when the type!=UNKNOWN: [root@hugo sbin]# ausearch -ts today | grep -i welcome ... node=hugo type=UNKNOWN[2800] msg=audit(1212175003.754:11074): user pid=20597 uid=0 auid=0 subj=root:staff_r:staff_t:s0-s15:c0.c1023 msg='*C* 5/30 19:16:43 comms 20836 audit test: Welcome to audit test LCB3 : exe="/opt/jcdx/sbin/SecureSyslog" (hostname=comms, addr=192.168.31.60, terminal=? res=failed)' node=hugo type=TRUSTED_APP msg=audit(1212175342.808:11387): user pid=21612 uid=0 auid=0 subj=root:staff_r:staff_t:s0-s15:c0.c1023 msg='*C* 5/30 19:22:22 comms 21615 audit test: Welcome to audit test LCB3 : exe="/opt/jcdx/sbin/SecureSyslog" (hostname=comms, addr=192.168.31.60, terminal=? res=failed)' ... [root@hugo sbin]# ausearch -i -ts today | grep -i welcome ... node=hugo type=UNKNOWN[2800] msg=audit(05/30/2008 14:16:43.754:11074) : user pid=20597 uid=root auid=root subj=root:staff_r:staff_t:s0-s15:c0.c1023 msg='*C* 5/30 19:16:43 comms 20836 audit test: Welcome to audit test LCB3 : exe=/opt/jcdx/sbin/SecureSyslog (hostname=comms, addr=192.168.31.60, terminal=? res=failed)' type=TRUSTED_APP msg=audit(05/30/2008 14:22:22.808:11387) : user pid=21612 uid=root auid=root subj=root:staff_r:staff_t:s0-s15:c0.c1023 msg='*C* 5/30 19:22:22 comms 21615 audit test: Welcome to audit test LCB3 : exe=/opt/jcdx/sbin/SecureSyslog (hostname=comms, addr=192.168.31.60, terminal=? res=failed)' ... -- LC (Lenny) Bruzenak lenny@magitekltd.com