FTP user - last login?
- From: Brian Dunbar <Brian.Dunbar@xxxxxxxxxx>
- Date: Thu, 12 Apr 2012 16:00:44 -0500
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: brian.dunbar@xxxxxxxxxx
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: Summary: Re: Denyhosts - other options?
- Next by Date: ZFS, and LU, and bears - oh my.
- Previous by thread: Summary: Re: Denyhosts - other options?
- Next by thread: ZFS, and LU, and bears - oh my.
- Index(es):
Relevant Pages
|