From owner-freebsd-questions Mon Jun 17 9:45:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by hub.freebsd.org (Postfix) with ESMTP id E38B037B406 for ; Mon, 17 Jun 2002 09:45:24 -0700 (PDT) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.11.6/8.11.6) id g5HGjG633375; Mon, 17 Jun 2002 12:45:16 -0400 (EDT) (envelope-from mrg8n@virginia.edu) X-Authentication-Warning: humpty.finadmin.virginia.edu: mrg8n set sender to mrg8n@virginia.edu using -f Date: Mon, 17 Jun 2002 12:45:16 -0400 From: Mike Galvez To: Roman Neuhauser Cc: freebsd-questions Subject: Re: kicking users Message-ID: <20020617124516.D32772@mail.virginia.edu> References: <20020617160156.GD64435@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020617160156.GD64435@freepuppy.bellavista.cz>; from neuhauser@bellavista.cz on Mon, Jun 17, 2002 at 06:01:56PM +0200 X-Operating-System: FreeBSD UNIX Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jun 17, 2002 at 06:01:56PM +0200, Roman Neuhauser wrote: > How can I "kick" a user that is logged on the host? > > TIA > kill -9 `ps -aux | awk '$1 ~/username/ {print $2}'` -- Michael Galvez Information Technology Specialist III E-Mail: mrg8n@nospam.virginia.edu University of Virginia Office: 434-982-2975 A strong conviction that something must be done is the parent of many bad measures. -- Daniel Webster To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message