How do I sneak into a Gnome console session?
While I was at work a support guy (super hard core Linux guy) sneaked into my Gnome console session and left me a text message, he already had root access. How does one do this? This was on a Red Hat 7.2 machine running Gnome.
Thanks, |
Did it come up in box and your only option was to click okay to close it?
If so then check out xmessage. Read up on it in your man pages. Use it alot in scripts to display info that the scripts return. Otherwise more details on it looks. Brian1 " Google the Linux way @ http://www.google.com/linux " |
Fellow Hoosier!
No sir, this was a standard console window! Although I will still read up on xmessage, sounds like the Windoze "Net send" equivelent? |
Did a quick play and it might be xconsole instead. xmessage sends to gui. Not messed with it before. I have seen it before but thats been 5 or 6 years ago. Look around for something called text messaging on console or something of that type.
Brian1 " Google the Linux way @ http://www.google.com/linux " ps Right back at you there Hoosier. |
Did some googleing and found this it might help. http://www.tldp.org/HOWTO/Text-Termi...6.html#ss16.16 from http://www.tldp.org/HOWTO/Text-Terminal-HOWTO.html
Brian1 " Google the Linux way @ http://www.google.com/linux " |
He may have been using talk. (man talk) or,
he may have been using write. (man write) or, since he's root he may have simply echo'ed a message to your console. After all, the consoles exist as plain files in dev right? You can find the console by running "pstree -p". Look for the instance of /bin/bash connected to the gnome console. Note the pid. Now run: Code:
# ps aux | grep <pid> | grep -v grep Code:
# echo "I've hacked your console" > /dev/pts/1 |
Talk was the one I was trying to remember. Thanks there bulliver. Even still there on the lastest distros. Sometimes the simpliest is the best.
Brian1 " Google the Linux way @ http://www.google.com/linux " |
That is it, thanks for the quick help!
|
All times are GMT -5. The time now is 05:14 PM. |