Subject: Re: Tracking user logins
To: Stefan Schumacher <stefan@net-tex.de>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-help
Date: 12/16/2003 13:08:24
Stefan Schumacher wrote:

>>What is the easiest way to gather this "last login" information in to a
>>single place (maybe MySQL database)? All ideas are welcome...
> 
> 
> stefan@AragornOfArathorn {3} lastlogin 
> root      ttyE1                       Tue Dec 16 10:18:15 2003
> stefan    console                     Tue Dec 16 09:51:22 2003
> test      ttyE2                       Mon Mar 24 12:27:10 2003

I was aware of this but I also have authenticator sources like cyrus-imapd
and cistron-radiusd which have their own means to log user activity.

So I'd like to hear ideas how to combine all these various sources, not
just the standard wtmp entries, into a single log data.

Maybe I could use some OpenLDAP based solution to do all users authentications
and let the OpenLDAP daemon do the logging.

Martti