RE: kill someone logged on
> -----Original Message-----
> From: debian [mailto:email@example.com]
> Sent: Wednesday, September 07, 2005 2:33 PM
> To: firstname.lastname@example.org
> Subject: Re: kill someone logged on
> On Wed, Sep 07, 2005 at 02:34:18PM -0400, Mike Kuhar wrote:
> > who -uH
> > Will give all that the system thinks is logged in, plus their PID.
> who -uH
> NAME LINE TIME IDLE PID COMMENT
> alice :0 Sep 6 17:25 ? 1010
> joe pts/2 Sep 7 13:40 ? 29102 (xxxxxx
> then kill -9 29102 gives:
> -su: kill: (29102) - No such process
> Perhaps this is one of those zombie process thingamajigs !
Since you know the PID, you can also double check with:
ps -ef | grep 29102
It's not a zombie. who reads the wtmp file. If the process was
terminated without updating /var/log/wtmp, then who will show what you
see without actually having the associated process.
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact