From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: audit_log_user_message question Date: Tue, 27 May 2008 14:01:51 -0400 Message-ID: <200805271401.51319.sgrubb@redhat.com> References: <1211910963.6568.73.camel@homeserver> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1211910963.6568.73.camel@homeserver> 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 List-Id: linux-audit@redhat.com On Tuesday 27 May 2008 13:56:03 LC Bruzenak wrote: > In looking at the user application audit I'm wondering why there is a > "hostname" field there? So that apps like sshd can say where the user is coming from. > I understand the obvious answer but would think I'd trust the auditd or > audispd more than an application for the hostname answer, and those > would be consistent. That's a different hostname. :) The hostname field as used in audit_log_user_message would be a remote machine name and not the local address. Many apps do not need this field and should pass NULL if unused. -Steve