Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 17:26:18 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Vlad Skvortsov' <vlad@high.net.ru>, freebsd-questions@freebsd.org
Subject:   RE: `last`
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105C79@site2s1>

next in thread | raw e-mail | index | archive | help
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




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