Re: [Proftpd-user] Last login time?
On Mon, May 09, 2005 at 09:19:26AM -0700, TJ Saunders wrote:[color=blue]
> > With wu-ftpd, I was able to see the Last Login time for my ftp only
> > users with a simple finger command. Now that I've moved 1500 users over
> > to ProFTPd, I don't get this any more. Is there some setting that I've
> > missed that allows me to update the last login time for ftp connections?[/color]
> What does your proftpd.conf look like? Do you have "WtmpLog off"?[/color]
No, I don't have this turned off:
[root@corpftp etc]# grep -i wtmp /etc/proftpd.conf
last shows the last login time. finger does not.
> And, why do you need to see the last login time?[/color]
I've got many (>500) external customer accounts that access the system
exclusively via ftp. I'd like to know when the account was last used.
[root@corpftp etc]# finger foo1
Login: foo1 Name: System foo1 - automated processing
Directory: /home/foo1 Shell: /bin/bash
Office: c/o Ed Wilts
Never logged in.
[root@corpftp etc]# last foo1
foo1 ftpd9389 184.108.40.206 Mon May 9 02:24 - 02:24 (00:00)
foo1 ftpd6599 220.127.116.11 Sun May 8 20:03 - 20:03 (00:00)
wtmp begins Sun May 1 06:22:03 2005
Ed Wilts, RHCE
Mounds View, MN, USA
Member #1, Red Hat Community Ambassador Program
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit [url]http://www.necitguy.com/?r=20[/url]
ProFTPD Users List <email@example.com>