Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 19:44:44 +0200
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        Ruben de Groot <mail25@bzerk.org>
Cc:        Istvan Gabor <suseuser04@lajt.hu>, freebsd-questions@freebsd.org
Subject:   Re: w and who don't list users in FreeBSD 9.0 and 9.1
Message-ID:  <5148A40C.3090003@gmx.com>
In-Reply-To: <20130319160324.GA63756@eris.bzerk.org>
References:  <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19/3/2013 6:03 μμ, Ruben de Groot wrote:
> On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed:
>> Hello:
>>
>> I have both FreeBSD 9.0 and 9.1 on two different computers.
>> w and who commands do not list logged in users in any of them
>> (either for root or a regular user).
>>
>> The output of w is:
>>
>> root@:/root # w
>>   4:56PM  up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20
>> USER       TTY      FROM                      LOGIN@  IDLE WHAT
>> root@:/root #
>>
>> And the output of who:
>>
>> root@:/root # who
>> root@:/root #
>>
>> Why is this and how can I fix it?
>
> This can happen if your kernel and world are out of sync.

It can also happen if /var/run/utx.active is corrupt. Could you
try deleting it? It will be re-created after a successful login.

Nikos




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