Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 15:03:47 -0500
From:      Sean O'Neill <sean@seanoneill.info>
To:        met@uberstats.com
Cc:        questions@freebsd.org
Subject:   RE: Login Monitoring
Message-ID:  <5.1.0.14.0.20020911145800.00ae2d10@postoffice.swbell.net>
In-Reply-To: <000901c259cd$407df700$6401a8c0@SURVIVAL>
References:  <F28DF05657ADD211B6140008C73354C152EAE0@ZELTD1>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:55 PM 9/11/2002 -0400, MET wrote:
>What is the 'who' command and I have nothing in /etc called 'wtmp'.
>
>~ Matthew
>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Bob Wright
>Sent: Wednesday, September 11, 2002 3:06 PM
>To: 'MET'
>Cc: 'questions@freebsd.org'
>Subject: RE: Login Monitoring
>
>
>who /etc/wtmp
>
> > ----------
> > From:         MET
> > Sent:         Wednesday, September 11, 2002 2:59 PM
> > To:   'freebsd-questions-en'
> > Subject:      Login Monitoring
> >
> > Is there a way to check all logins (ftp/telnet/etc) throughout the
> > course of a day and have it stored in an easy to read text file (or
> > mostly easy to read)?  Also, some documentation on the port would be
> > of great help.
> >
> > ~ Matthew
> >

Don't top post plez ....

Use "who /var/log/<wtmp filename interested in>" for current logins.  If 
just looking at the current wtmp file, the filename isn't required.

Use "last -f /var/logl/<wtmp filename interested in>" for historical 
logins.  If just looking at the current wtmp file, the filename isn't required.

See man page for both commands for more infor.


--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020911145800.00ae2d10>