Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 12:45:16 -0400
From:      Mike Galvez <mrg8n@virginia.edu>
To:        Roman Neuhauser <neuhauser@bellavista.cz>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: kicking users
Message-ID:  <20020617124516.D32772@mail.virginia.edu>
In-Reply-To: <20020617160156.GD64435@freepuppy.bellavista.cz>; from neuhauser@bellavista.cz on Mon, Jun 17, 2002 at 06:01:56PM %2B0200
References:  <20020617160156.GD64435@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020617124516.D32772>