Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 12:37:12 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Mike Galvez <mrg8n@virginia.edu>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: kicking users
Message-ID:  <20020618103712.GE64435@freepuppy.bellavista.cz>
In-Reply-To: <20020617124516.D32772@mail.virginia.edu>
References:  <20020617160156.GD64435@freepuppy.bellavista.cz> <20020617124516.D32772@mail.virginia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
> 
> 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?
> 
> kill -9 `ps -aux | awk '$1 ~/username/ {print $2}'`

    great, this is exactly what I was looking for (well, actually
    I was convinced there'd be a command for this; the first thing
    I tried was `man kick`, and now I have it :)

    thanks!

-- 
FreeBSD 4.5-STABLE
12:33PM up 15 days, 2:22, 12 users, load averages: 0.00, 0.00, 0.00

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?20020618103712.GE64435>