Date: Tue, 18 Jun 2002 12:04:15 +1000 From: Jacob Rhoden <f3z@iprimus.com.au> To: freebsd-questions@freebsd.org Subject: Re: kicking users Message-ID: <5.1.1.6.0.20020618120406.0209e4a0@mail.iprimus.com.au>
next in thread | raw e-mail | index | archive | help
At 05:45 PM 17/06/2002 -0700, you wrote:
> > kill -9 `ps -aux | awk '$1 ~/username/ {print $2}'`
>
>Where I need to do this most often is for SSH users whose sessions
>time out due to connectivity problems. I kill their processes and
>shell, but the login still just sits there for a really long time
>(hours? days? .. in 'who' anyway) before it goes away.
As far as I know, that is a bug in FreeBSD, I asked the exact same question
2 weeks ago, and was told that you just login lots to make the user
disapear, ie if in who it says pty3, login 4 times, and the pty3 entry will
be overwritten when the 4th user logs in.
Regards,
jacobRhoden
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?5.1.1.6.0.20020618120406.0209e4a0>
