From owner-freebsd-questions Mon Jun 17 9:29:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.isoco.com (terremoto.isoco.net [212.9.90.13]) by hub.freebsd.org (Postfix) with ESMTP id 5455C37B403 for ; Mon, 17 Jun 2002 09:28:46 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.isoco.com (Postfix-Nx) with SMTP id 911E427663; Mon, 17 Jun 2002 18:28:40 +0200 (CEST) Received: from smtp.bcn.isoco.net (ldap.isoco.net [172.16.0.11]) by smtp.isoco.com (Postfix-Nx) with ESMTP id 871222765E; Mon, 17 Jun 2002 18:28:40 +0200 (CEST) Received: from fxn (fxn.bcn.isoco.net [172.16.1.50]) by smtp.bcn.isoco.net (Postfix) with SMTP id CFCF8CD2B5; Mon, 17 Jun 2002 18:28:38 +0200 (CEST) Date: Mon, 17 Jun 2002 18:25:27 +0200 From: F.Xavier Noria To: Roman Neuhauser Cc: freebsd-questions@freebsd.org Subject: Re: kicking users Message-Id: <20020617182527.1d564733.fxn@retemail.es> In-Reply-To: <20020617160156.GD64435@freepuppy.bellavista.cz> References: <20020617160156.GD64435@freepuppy.bellavista.cz> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 17 Jun 2002 18:01:56 +0200 Roman Neuhauser wrote: : How can I "kick" a user that is logged on the host? A quick and dirty solution would be to kill his login shell(s) and put "exit" as the first instruction of his .bash_profile (or whatever rc file his shell reads). -- fxn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message