Bug 956 - Syslog do not tell you when user loggs out.
Summary: Syslog do not tell you when user loggs out.
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 3.8p1
Hardware: All Linux
: P2 minor
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 00:29 AEDT by Olle Hällnäs
Modified: 2006-10-07 11:38 AEST (History)
0 users

See Also:


Attachments
Patch for session.c to log logouts in syslog. (582 bytes, patch)
2004-11-22 00:30 AEDT, Olle Hällnäs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.