Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: ccam@spiral2.its.latrobe.edu.au (Andrew Moar)
Subject: Re: Login trace
Date: 13 Oct 2000 04:13:59 GMT	[thread overview]
Message-ID: <8s6267$ifg$1@news.latrobe.edu.au> (raw)
In-Reply-To: WCsF5.8263$Ru.273664@news1.onlynews.com

In article <WCsF5.8263$Ru.273664@news1.onlynews.com>,
	"Andrew J. Labosky" <andrewl1@ispchannel.com> 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 <username>.

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


  reply	other threads:[~2000-10-13  4:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-11  4:00 Login trace Adriano Prado
2000-10-11  4:00 ` Eric Bennett
2000-10-13  0:24 ` Andrew J. Labosky
2000-10-13  4:13   ` Andrew Moar [this message]
2000-10-17  3:24 ` Richard
2000-10-16  4:00   ` Arthur Dalessandro
2000-10-17  6:37 ` Marcus Mohr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox