From owner-freebsd-questions@FreeBSD.ORG Tue Mar 19 17:44:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3D2AFF27 for ; Tue, 19 Mar 2013 17:44:54 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id CDCDB946 for ; Tue, 19 Mar 2013 17:44:53 +0000 (UTC) Received: from mailout-eu.gmx.com ([10.1.101.213]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MYIEJ-1UDw8r3ZGT-00VCJr for ; Tue, 19 Mar 2013 18:44:52 +0100 Received: (qmail invoked by alias); 19 Mar 2013 17:44:52 -0000 Received: from 62.1.121.60.dsl.dyn.forthnet.gr (EHLO [127.0.0.1]) [62.1.121.60] by mail.gmx.com (mp-eu013) with SMTP; 19 Mar 2013 18:44:52 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+iDUgWA9qilaTD7BC8mbyrd41Vzk/oK3DGTMtEbS gs5V8N3hSGpdGF Message-ID: <5148A40C.3090003@gmx.com> Date: Tue, 19 Mar 2013 19:44:44 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Ruben de Groot Subject: Re: w and who don't list users in FreeBSD 9.0 and 9.1 References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org> In-Reply-To: <20130319160324.GA63756@eris.bzerk.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: Istvan Gabor , freebsd-questions@freebsd.org 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: Tue, 19 Mar 2013 17:44:54 -0000 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