Root User logged in at terminal

Dominic Fandrey kamikaze at bsdforen.de
Wed Feb 20 14:43:47 UTC 2008


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.


More information about the freebsd-questions mailing list