[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Fixing a corrupt utmp
- From: "David Busby" <busby pnts com>
- To: <redhat-list redhat com>
- Subject: Re: Fixing a corrupt utmp
- Date: Mon Mar 31 15:06:12 2003
I had this happen and I fixed it by doing this:
Kick everyone off the machine, with only one user do
cat /dev/null > /var/run/utmp
logout
Then login again...
`who` should report correct information
/B
----- Original Message -----
From: "Reuben D. Budiardja" <reubendb innovativethought com>
To: <redhat-list redhat com>
Sent: Monday, March 31, 2003 08:56
Subject: Fixing a corrupt utmp
>
> Hello,
> Anyone knows how to fix a corrupted utmp files? Reboot most likely fix it,
but
> I am trying not to reboot the machine (yeah.. i am trying to compete my
> uptime with other people :) ).
>
> As to how my utmp file corrupted at the first place, please refer to my
other
> post under the subject "log-out a user - How To".
>
> Thanks for any help.
>
> RDB
>
> --
> -------------------------------------------------
> /"\ ASCII Ribbon Campaign against HTML
> \ / email and proprietary format
> X attachments.
> / \
> -------------------------------------------------
> Have you been used by Microsoft today?
> Choose your life. Choose freedom.
> Choose LINUX.
> -------------------------------------------------
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]