Re: w and who don't list users in FreeBSD 9.0 and 9.1

Istvan Gabor suseuser04 at lajt.hu
Wed Mar 20 09:39:18 UTC 2013


2013. március 19. 18:44 napon Nikos Vassiliadis <nvass at 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



More information about the freebsd-questions mailing list