From owner-freebsd-stable@FreeBSD.ORG Thu Dec 16 07:53:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9FAE16A4CE for ; Thu, 16 Dec 2004 07:53:20 +0000 (GMT) Received: from mail.distalzou.net (203.141.139.231.user.ad.il24.net [203.141.139.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 207F543D46 for ; Thu, 16 Dec 2004 07:53:20 +0000 (GMT) (envelope-from devin@spamcop.net) Received: from plexi.pun-pun.prv ([192.168.7.29] helo=plexi) by mail.distalzou.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.43 (FreeBSD)) id 1CeqRq-000JH2-46; Thu, 16 Dec 2004 16:53:18 +0900 Date: Thu, 16 Dec 2004 16:53:17 +0900 (JST) From: Tod McQuillin X-X-Sender: devin@plexi.pun-pun.prv To: =?ISO-8859-2?Q?Kov=E1cs_P=E9ter?= In-Reply-To: Message-ID: <20041216165055.D81000@plexi.pun-pun.prv> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed cc: freebsd-stable@freebsd.org Subject: Re: Logging out the user X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 07:53:21 -0000 On Thu, 16 Dec 2004, [ISO-8859-2] Kov$Ba(Bcs P$Bi(Bter wrote: > Sorry for this newbie question, but I don't know how I can > do this. > When I type "who" at the command prompt I can see the active > users. > How can I kill a user from that list? The second column in the output from 'who' shows the tty the user is logged in from, for example, 'ttyp1'. You can find the processes attached to that tty with 'ps tp1' Then you can kill those processes (start with SIGHUP) ... 'kill -HUP ####' > There are some users whos process has stuck. How can I kill > those as well? ps -Uusername then kill as above. -- Tod McQuillin