FTP user - last login?

Brian Dunbar <[email protected]>
Newsgroups gmane.os.solaris.managers
Message-ID <[email protected]>
Solaris 10
vsftpd

Assume user bob

bob:x:241:101::/opt/ftp/bob:/bin/false

How do I tell bob's last login time?



Yes, I can do something clever against the FTP logs, gather the latest login
date

$ grep vsftpd.log | grep bob
(snip)
Thu Apr 12 15:56:00 2012 [pid 12170] [bob] OK LOGIN: Client "xxx.xxx.xxx.xxx"
$

But that only gets me the data going forward,  doesn't tell me if bob's last
login was, say, two years ago.

What I need/want is for 'finger' to magically work ...



Brian Dunbar
Systems Administrator

Plexus Corporation
Desk: (920) 751-3364
Cell: (920) 716-2027
email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.