Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!lepreau@utah-cs From: lepreau%utah-cs@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: anonymous ftps aren't recorded in wtmp Message-ID: <15454@sri-arpa.UUCP> Date: Fri, 13-Jan-84 19:56:57 EST Article-I.D.: sri-arpa.15454 Posted: Fri Jan 13 19:56:57 1984 Date-Received: Mon, 16-Jan-84 01:18:14 EST Lines: 16 From: Jay Lepreau Index: etc/ftpd.c 4.2BSD Description: Repeat-By: Fix: -------- You sure your fix works? I don't think it will record any logout times, just logins (leaving everything "still-logged-in"), because the second record of each session has got to be after the chroot(), unless you leave an extra fork hanging around. So what I did here was just create a ~ftp/usr/adm/wtmp file, suitably protected. This works in concert with a minor but useful enhancement I long ago made to "last" to take a -f argument. Code avail on request. lepreau@utah-cs, {harpo,hplabs}!utah-cs!lepreau