Re: [Proftpd-user] Last login time?
On Mon, May 09, 2005 at 09:19:26AM -0700, TJ Saunders wrote:[color=blue]
>[color=green]
> > 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
[root@corpftp etc]#
last shows the last login time. finger does not.
[color=blue]
> [url]http://www.proftpd.org/docs/directives/linked/config_ref_WtmpLog.html[/url]
>
> 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.
No mail.
No Plan.
[root@corpftp etc]# last foo1
foo1 ftpd9389 150.228.64.51 Mon May 9 02:24 - 02:24 (00:00)
foo1 ftpd6599 150.228.64.51 Sun May 8 20:03 - 20:03 (00:00)
wtmp begins Sun May 1 06:22:03 2005
Thanks,
.../Ed
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@ewilts.org
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 <proftpd-users@proftpd.org>
Unsubscribe problems?
[url]http://www.proftpd.org/list-unsub.html[/url]