From owner-freebsd-questions Wed Sep 11 13: 3:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5629037B406 for ; Wed, 11 Sep 2002 13:03:54 -0700 (PDT) Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B89343E75 for ; Wed, 11 Sep 2002 13:03:53 -0700 (PDT) (envelope-from sean@seanoneill.info) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id 8AC7C7660; Wed, 11 Sep 2002 15:03:48 -0500 (CDT) Message-Id: <5.1.0.14.0.20020911145800.00ae2d10@postoffice.swbell.net> X-Sender: swoneill@postoffice.swbell.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 11 Sep 2002 15:03:47 -0500 To: met@uberstats.com From: Sean O'Neill Subject: RE: Login Monitoring Cc: questions@freebsd.org In-Reply-To: <000901c259cd$407df700$6401a8c0@SURVIVAL> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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/" for current logins. If just looking at the current wtmp file, the filename isn't required. Use "last -f /var/logl/" 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