From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Jackson Subject: Re: How to kill SSH sessions? Date: Wed, 26 Jun 2002 15:26:43 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3D1A3193.E398757B@wcox.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: "Gary E. Miller" Cc: linux-admin@vger.kernel.org Gary -- This is just between me and you :) I once did a killalll netscape on a Sun Box. When the man page warn " That killall isn't the same on on systems/OS"....... Let's just the the good news was it didn't bring the box "down" the bad news is it killed all the init processes .... Sorry I forgot about the BOFH stories. David "Gary E. Miller" wrote: > Yo David! > > On Wed, 26 Jun 2002, David Jackson wrote: > > > > Well, the BOFH just kills them all: > > > > > > killall sshd; sleep 20; sshd > > > > > > > Let me make sure I understand, you going to kill every ssh login on a > > "production" server? > > Just besure to update you resume before you do. > > Not ME, the BOFH. And yes I have seen many BOFH do this on production > systems knocking off hundreds of users. When the BOFH reports to the > technologically clueless CFO he fears nothing. > > > > Or do this to see which PID to kill > > > > > > pstree -pul | less > > > > > > Only newbies use 'ps'... > > > > Newbie and Linux users with 7 Years experience > > Yeah, but not us UNIX guys with 20 years. Work smarter, not harder. > > RGDS > GARY > --------------------------------------------------------------------------- > Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701 > gem@rellim.com Tel:+1(541)382-8588 Fax: +1(541)382-8676 > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html