Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2001 23:45:37 -0000
From:      "G D McKee" <freebsd@gdmckee.com>
To:        "Jonathan Chen" <jonathan.chen@itouch.co.nz>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: w - reporting wrongly
Message-ID:  <006e01c0a829$e044baa0$0500a8c0@gdmckee.local>
References:  <005301c0a827$48782c40$0500a8c0@gdmckee.local> <20010309123938.A53073@itouchnz.itouch>

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

That did the trick.

Thanks very much.

Gordon
----- Original Message -----
From: "Jonathan Chen" <jonathan.chen@itouch.co.nz>
To: "G D McKee" <freebsd@gdmckee.com>
Cc: "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Sent: Thursday, March 08, 2001 11:39 PM
Subject: Re: w - reporting wrongly


> On Thu, Mar 08, 2001 at 11:27:03PM -0000, G D McKee wrote:
> > Hi
> >
> > w is saying a user is logged in that is not.  I have done a ps aux |
grep p3
> > and there are not processes assigned to that command.  How can I get the
> > user logged off.  It says they have been idle for 2 days.
>
> This is due to a corrupted /var/run/utmp. You should be able to take
> the machine down to single user, and:
>
> # cp /dev/null /var/run/utmp
>
> and that should take care of it.
> --
> Jonathan Chen <jonathan.chen@itouch.co.nz>
> -----------------------------------------------------------------------
> "One, with God, is always a majority, but many a martyr has been burned
>    at the stake while the votes were being counted."  -- Thomas B. Reed
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006e01c0a829$e044baa0$0500a8c0>