Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2008 15:43:44 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Root User logged in at terminal
Message-ID:  <47BC3CA0.5010709@bsdforen.de>
In-Reply-To: <013601c873c4$4e223cb0$6501a8c0@GRANT>
References:  <013601c873c4$4e223cb0$6501a8c0@GRANT>

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



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