From: Robert Evans Subject: Re: Login/Logout events Date: Thu, 03 May 2007 13:17:24 -0400 Message-ID: <463A1924.8030006@jhuapl.edu> References: <4639EAEA.7010008@jhuapl.edu> <200705031030.56905.sgrubb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200705031030.56905.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 Yup, you are absolutely right. FC5 currently has an update to 4.3p2-12 (not 13 yet), and it doesn't work FC6 currently runs 4.3p2-19, and it does indeed produce the logout event. Thanks for the quick feedback! Steve Grubb wrote: > On Thursday 03 May 2007 10:00, Robert Evans wrote: >> In doing some testing with the last audit module (testing on FC5) I found >> the following behavior >> >> 1. login and logout events recorded from GDM login >> 2. login and logout events recorded from su >> 3. login events recorded from ssh connections, no logout events (USER_END) >> logged. > > Login is marked by the USER_LOGIN event. There should be a USER_START event > that identifies the beginning of the session. A USER_END event denotes the > end of the session. So, for "su"...you should see a session begin, not a > login. > >> Is there something I need to do to catch these ssh disconnects? > > Update openssh. This was a bug in that the logging of this event was done from > a place where not enough privileges existed. I think 4.3p2-13 has the fix > for it. > > -Steve >