From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,4425c2ea448ebe4a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-10-12 21:14:03 PST Path: supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!nntp.primenet.com!nntp.gblx.net!enews.sgi.com!harbinger.cc.monash.edu.au!news.latrobe.edu.au!not-for-mail From: ccam@spiral2.its.latrobe.edu.au (Andrew Moar) Newsgroups: comp.unix.tru64 Subject: Re: Login trace Date: 13 Oct 2000 04:13:59 GMT Organization: La Trobe University Message-ID: <8s6267$ifg$1@news.latrobe.edu.au> References: <8s1js7$1g3$1@nnrp1.deja.com> NNTP-Posting-Host: spiral2.its.latrobe.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.latrobe.edu.au 971410439 18928 131.172.12.60 (13 Oct 2000 04:13:59 GMT) X-Complaints-To: usenet@news.latrobe.edu.au NNTP-Posting-Date: 13 Oct 2000 04:13:59 GMT X-Newsreader: knews 1.0b.0 Xref: supernews.google.com comp.unix.tru64:568 In article , "Andrew J. Labosky" writes: > You can use the command "last" which will tell you who logged in, from > where, for how long, etc. > you could also output info to a file, also search for a certain user (i.e. > last | grep (username) > Or just last . One problem with last is that it truncates the hostname the user connected from. You could use who to get around this: who -M /var/adm/wtmp Only problem is that it lists in date ascending order... -- Andrew Moar : Ph +61 3 9479 1505 email A.Moar@latrobe.edu.au Unix Environment Specialist, Information Technology Services La Trobe University, Bundoora