[oclug] Displaying remote console session not your own
rjordan at student.math.uwaterloo.ca
Thu Jun 5 14:16:35 EDT 2003
> I used to remember how to do this :-)
> I want to display the current screen on tty2 (or ttyS1, etc) when I'm
> logged into tty1
> Lets assume I don't want to hit cntrl-alt-F2 :-)
> (Actually - I'm logged in remotely - I can't)
> I thought I could `cat /dev/tty2` but that doesn't seem to working...
There was a neat program, I think it was called ttysnoop or something
along those lines, that would allow the root user to hijack sessions
of other ttys (either local or ssh/telnet). You could view exactly
what another user was doing, including injecting commands.
"Many that live deserve death. And some die that deserve life. Can you
give it to them? Then be not too eager to deal out death in the name
of justice, fearing for your own safety. Even the wise cannot see all ends."
-- J.R.R. Tolkien, The Lord Of the Rings, Book Four, Chapter One
More information about the OCLUG