Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!uunet!emba-news.uvm.edu!bajoran.emba.uvm.edu!wollman From: wollman@bajoran.emba.uvm.edu (Garrett Wollman) Subject: Re: FreeBSD: /var/log/lastlog ? Message-ID: <1994Feb11.235107.16781@emba.uvm.edu> Sender: news@emba.uvm.edu Organization: University of Vermont, EMBA Computer Facility References: <CL0q2s.G6@jester.gun.de> <2jfp0a$aop@pdq.coe.montana.edu> Date: Fri, 11 Feb 1994 23:51:07 GMT Lines: 22 In article <2jfp0a$aop@pdq.coe.montana.edu>, Nate Williams <nate@bsd.coe.montana.edu> wrote: >Try running last and see what happens, since last worked fine under my >FreeBSD 1.0.2 box. Sorry, Nate, but this is bogus. The `last' command uses the `utmp' and `wtmp' files, just like `who' does. The `lastlog' file is used by `login' to print the message ``Last logged in Fri 1 Apr 00:00:00 1994 from grimble.pritz.org''. You can certainly truncate the file if you ant, but it should never contain more than one record per user on the system, and therefore shouldn't require truncation. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance. NB: Address soon to | It is a bond more powerful than absence. We like people be changed. | who like Shashish. - Claude McKenzie + Florent Vollant