From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 14:43:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C8A116A402 for ; Wed, 20 Feb 2008 14:43:47 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id EE98613C459 for ; Wed, 20 Feb 2008 14:43:46 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (nat-wh-1.rz.uni-karlsruhe.de [129.13.72.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id B19C9405BAD; Wed, 20 Feb 2008 15:43:45 +0100 (CET) Message-ID: <47BC3CA0.5010709@bsdforen.de> Date: Wed, 20 Feb 2008 15:43:44 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080205) MIME-Version: 1.0 To: Grant Peel References: <013601c873c4$4e223cb0$6501a8c0@GRANT> In-Reply-To: <013601c873c4$4e223cb0$6501a8c0@GRANT> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Root User logged in at terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 14:43:47 -0000 Grant Peel wrote: > Hi all, > > I installed a new server this weekend and it appears I did not log out > befor disconnection the keyboard and monitor. > > Is the a way through ssh to force a logout of the root user? > > -Grant You can hijack the terminal using "watch -W". After taking over a terminal, hit CTRL-C to provoke some output and remove any commands that might be left standing. Then you can simply logout.