From owner-freebsd-questions Mon Sep 20 14:23:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 7A90E14E15 for ; Mon, 20 Sep 1999 14:23:25 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Mon, 20 Sep 1999 17:23:34 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105C79@site2s1> From: Christopher Michaels To: 'Vlad Skvortsov' , freebsd-questions@freebsd.org Subject: RE: `last` Date: Mon, 20 Sep 1999 17:26:18 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The format of the file has changed from 2.8 to 3.x. Due to the = increase in the length of login names. The best thing to do would be to = rename/delete the existing /var/log/wtmp and start a new one "touch /var/log/wtmp". I belive there is a way to conver the old information over to the new = format but I don't rember how. You could search through the mailing list = archives or maybe someone else will reply with another answer. -Chris > -----Original Message----- > From: Vlad Skvortsov [SMTP:vlad@high.net.ru] > Sent: Monday, September 20, 1999 5:04 PM > To: freebsd-questions@freebsd.org > Subject: `last` >=20 > After upgrading from 2.2.8 to 3.2-STABLE at june my `last` output > became corrupt. This is how it looks like: >=20 > $ last > dialout cuaa0 =DE=D4 1 =D1=CE=D7 03:00 = still logged > in >=20 > wtmp begins =DE=D4 1 =D1=CE=D7 03:00:54 1970 >=20 > $ ls -l /var/log/lastlog /var/log/wtmp > -rw-r--r-- 1 root wheel 28336 21 =D3=C5=CE 00:53 /var/log/lastlog > -rw-r--r-- 1 root wheel 149636 21 =D3=C5=CE 00:54 /var/log/wtmp > =09 > They seem to be updated correctly. Where should I look to ? >=20 > --=20 > Vlad Skvortsov, vss@ulstu.ru >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message