Love this :)

    cat /dev/null > /var/run/utmp && logout

Then log in again.

/B

----- Original Message -----
From: "David Busby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 15:44
Subject: Re: Who lists folks who aren't there


> More Info:
>     I found out that man uses /var/run/utmp to see what is going on...well
> now I guess my utmp file is corrupt do the is force closeure on SSHD?
Does
> anyone know how to rebuild my utmp file?
>
> /B
>
>
> ----- Original Message -----
> From: "David Busby" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 18, 2003 15:32
> Subject: Who lists folks who aren't there
>
>
> > List;
> >     My who command lists three logins but only 1 really exists.
> > The other two are dead SSH connections, they have no process as their
SSH
> > process was killed, why do they show up?
> >
> > # who
> > root     pts/1        Feb 18 14:44 (a.b.c.d)
> > root     pts/2        Feb 18 14:51 (a.b.c.d)
> > root     pts/3        Feb 18 15:40 (a.b.c.d)
> >
> >
> > The third one is real, the first two are dead/orphan
> >
> > TIA
> >
> >
> > David Busby
> > Systems Engineer
> > [EMAIL PROTECTED]
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to