Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2013 10:39:16 +0100
From:      =?UTF-8?Q?Istvan_Gabor?= <suseuser04@lajt.hu>
To:        freebsd-questions@freebsd.org
Subject:   =?UTF-8?Q?Re:_w_and_who_don't_list_users_in?= =?UTF-8?Q?_FreeBSD_9.0_and_9.1?=
Message-ID:  <1a0644d8.76b3142c.514983c4.8f113@lajt.hu>
In-Reply-To: <5148A40C.3090003@gmx.com>
References:  <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org> <5148A40C.3090003@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help

2013. március 19. 18:44 napon Nikos Vassiliadis <nvass@gmx.com> írta:

> 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.

I tried this but did not make any change. Maybe the problem is related to
the session type, KDE3. See my answer to Ruben.

Thanks,

Istvan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a0644d8.76b3142c.514983c4.8f113>