Re: who command shows more users than actual exists
From:
Paul Eggert
Subject:
Re: who command shows more users than actual exists
Date:
Wed, 20 Oct 2004 13:57:25 -0700
User-agent:
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
"David Young" <address@hidden> writes:
> Can I simply delete utmp? will it recreate itself?
I think so, yes. Just truncate it to size zero.
> if it's indeed a utmp problem, how come upon reboot, the problem
> goes away for awhile only to resurface after some users have logged
> in and out?
Most likely, because there's something in some of your login/logout
procedures that corrupts the file sometimes.