Bug 956

Summary: Syslog do not tell you when user loggs out.
Product: Portable OpenSSH Reporter: Olle Hällnäs <olle>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WORKSFORME    
Severity: minor    
Priority: P2    
Version: 3.8p1   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Patch for session.c to log logouts in syslog. none

Description Olle Hällnäs 2004-11-22 00:29:17 AEDT
I was bothered that the authlog function only tells you when a user loggs in but
never when the user loggs out.. atleast I couldn't find any code for it so I
added a few lines and got what I wanted.
Comment 1 Olle Hällnäs 2004-11-22 00:30:33 AEDT
Created attachment 743 [details]
Patch for session.c to log logouts in syslog.
Comment 2 Darren Tucker 2004-11-22 11:42:01 AEDT
The OS last/lastlog does this already, why do you want to duplicate it?
Comment 3 Olle Hällnäs 2004-11-22 17:12:52 AEDT
Lastlog do not write to syslog. Atleast here in sweden it's fairly common that 
companies do use syslog servers to get all data to a central location and 
therefor they want this kind of information. Basically they don't want to login 
to each server and check. 
Comment 4 Markus Friedl 2004-11-28 02:07:20 AEDT
just set loglevel to verbose
Comment 5 Darren Tucker 2006-10-07 11:38:02 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.