Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!convex!egsner!swsrv1!toma From: toma@swsrv1.cirr.com (Tom Armistead) Newsgroups: comp.unix.questions Subject: Re: Probably really simple wtmp question Message-ID: <1991May18.181955.25611@swsrv1.cirr.com> Date: 18 May 91 18:19:55 GMT References: <1991May16.042013.4116@eve.wright.edu> Organization: Software Services: Garland, Tx Lines: 30 In article <1991May16.042013.4116@eve.wright.edu> spotter@eve.wright.edu (Master Vampire) writes: >Ok, so I'm probably really stupid, but hey! this is comp.unix.QUESTIONS! > >It seems to me at one time I ran a command that searched wtmp and gave me a >list of every time my account had been logged on since wtmp was last cleared. >Now, I again need to do this, and can't remember. Is there a command that >lets Joe.Average.User look in wtmp, or was it a sysadmin tool that I was using >when I had sysadmin privs?? > >Thanks, >Steve > > >-- >anagram@desire.wright.edu | "Role becomes the actor, she's addicted to applause >spotter@eve.wright.edu | The stage a world because she never leaves it." > | -Rush > WSU doesn't approve of anything I do, but that hasn't stopped me yet. 'who /etc/wtmp' will show a history of all who have logged on since wtmp was last cleared. With 'who -a /etc/wtmp' you can also tell when someone logged off. wtmp usually has read for everyone. Tom -- Tom Armistead - Software Services - 2918 Dukeswood Dr. - Garland, Tx 75040 =========================================================================== toma@swsrv1.cirr.com {egsner,letni,ozdaltx,void}!swsrv1!toma