Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2002 18:57:30 -0600
From:      "Mike Meyer" <mwm-dated-1015549051.4dd95c@mired.org>
To:        Steven Lake <raiden@shell.core.com>
Cc:        questions@freebsd.org
Subject:   Re: Logging of "last login"
Message-ID:  <15489.29946.665625.471981@guru.mired.org>
In-Reply-To: <9807177@toto.iv>

index | next in thread | previous in thread | raw e-mail

Steven Lake <raiden@shell.core.com> types:
> 	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.  I'm trying to track all logins on one of
> our servers to look for security breaches or unauthorized logins and to
> track some other stuff, so I'm trying to figure out what's logged as far
> as logins go.

Others have pointed out the last command, which gives everything you
asked about. If you want more detailed information, enable system
accounting via accton. That will record every command exec'ed on the
system, and is really usefull in tracking down problem users.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



help

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