From owner-freebsd-questions Sat Mar 2 14:32: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id BA85437B417 for ; Sat, 2 Mar 2002 14:31:59 -0800 (PST) Received: from scaryg.shacknet.nu ([64.231.135.247]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020302223158.QSUM21875.tomts14-srv.bellnexxia.net@scaryg.shacknet.nu>; Sat, 2 Mar 2002 17:31:58 -0500 Received: from localhost ([::1] helo=scaryg.shacknet.nu) by scaryg.shacknet.nu with smtp (Exim 3.34 #1) id 16hI3p-000Ciy-00; Sat, 02 Mar 2002 17:33:01 -0500 Date: Sat, 2 Mar 2002 17:33:00 -0500 From: ScaryG To: Steven Lake Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Logging of "last login" Message-Id: <20020302173300.7ce1203e.freymann@scaryg.shacknet.nu> In-Reply-To: References: X-Mailer: Sylpheed version 0.7.2 (GTK+ 1.2.10; i386-portbld-freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean 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 On Sat, 2 Mar 2002 15:39:50 -0600 (CST) Steven Lake wrote: > Hi all. Silly question. Does Fbsd log the "last login" message > for telnet, console, and ssh sessions? Like where it will say something > like "Last login: Sat Mar 2 15:25:49 2002 from my.domain.com" at the > top of your screen when you login. Try the "last" command... it keeps a log of activity on your box for the duration of the month... so something like: last | more would let you scroll screen by screen. If you're after one particular user, just add the name... last root for instance. It'll show you some neat stuff. You may also want to look in /var/log/security (depending on how your syslog is configured). Gerry Web/Domain Hosting - Primary/Secondary DNS Services at http://www.interpool.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message