From mboxrd@z Thu Jan 1 00:00:00 1970 From: geckiv Subject: Writtign to audit with an application Date: Sat, 17 Mar 2007 14:54:54 -0400 Message-ID: <45FC397E.3050307@optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l2HIswdX008514 for ; Sat, 17 Mar 2007 14:54:58 -0400 Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l2HIsvAo012158 for ; Sat, 17 Mar 2007 14:54:57 -0400 Received: from optonline.net (ool-4352b24e.dyn.optonline.net [67.82.178.78]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JF2009N19VFRP40@mta2.srv.hcvlny.cv.net> for linux-audit@redhat.com; Sat, 17 Mar 2007 14:54:52 -0400 (EDT) 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" List-Id: linux-audit@redhat.com I was wondering if anyone had a good example of how to write to the audit log on linux for a custom application wanting to log events. Also how that would work. I found a little information but I have been unable to get anything to work properly. Does it write to the demon then write to the /var/log/auit/audit.log? Also how do yo set this up so not just any one or any process write to that log? Thanks, Frank