From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:23:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA67D5A8 for ; Mon, 17 Dec 2012 21:23:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 346308FC13 for ; Mon, 17 Dec 2012 21:23:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBHLMxAo049104 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 17 Dec 2012 21:23:00 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBHLMxAo049104 Authentication-Results: smtp.infracaninophile.co.uk/qBHLMxAo049104; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50CF8D2B.6010908@FreeBSD.org> Date: Mon, 17 Dec 2012 21:22:51 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: "last" not showing recent login activity References: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> In-Reply-To: <20121217195511.Horde.WiYpoIyApmatxN7nK60how2@d2ux.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig02DFAD5B04F32A73B5D19FFB" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 21:23:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig02DFAD5B04F32A73B5D19FFB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/12/2012 18:55, Matthias Petermann wrote: > Hello, >=20 > on one of my systems I just found out that "last" only shows some old > login / logout activity, but not the recent actvities. >=20 > The strange thing... everytime I log into the system, /var/log/utx.log > gets update to the current timestamp (and also grows by some bytes). >=20 > But "last" only shows very old data... >=20 > srv# last -f utx.log -d 20121218 > matthias pts/3 Mon Dec 3 23:32 still > logged in > matthias pts/2 Mon Dec 3 23:31 still > logged in >=20 > Is there any reason why I can't see the recent logins there? Which > component does write data to utx.log - is this done via syslog or a > lower level mechanism? http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/168844 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig02DFAD5B04F32A73B5D19FFB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDPjTMACgkQ8Mjk52CukIw9hgCdETIYHwpv4hixQV7zqata31v8 6C8An1+5hRSUKq8Ekh3a5oDmoTu1KyBt =mXCo -----END PGP SIGNATURE----- --------------enig02DFAD5B04F32A73B5D19FFB--