An odd (but harmless) bug...

Spike spike at bu-cs.BU.EDU
Sun Jun 12 07:57:30 AEST 1988


In article <21818 at think.UUCP> whitney at think.UUCP (David Whitney) writes:
<I checked the man pages for finger, and in the "see also" section, it mentions
<the file (or directory) /usr/adm/lastlog. I figure it's a dir, so I created
<a dir by that name. Still, "Never logged in". Any ideas?


	It is a FILE which contains the time, line, and host of your
last login in.  It is hashed by you UID, so it can be read with something like:

  lseek(last_log, uid * sizeof(l_log),0);

	This true for 4.[23] BSD anyway.  Try creating an empty file.
->Spike



More information about the Comp.unix.aux mailing list