Posted by mikhailian on Wed 9 Jan 2008 at 09:04
It is often a waste of time for the person on the other end of the phone to listen to the support guy without really seeing what goes on. Using GNU screen two people can watch what is happening, and we'll show how here
One way to get the user involved is to let him follow on screen what you do.
So, log in and start screen on the command line. Then, enter ^A:multiuser on[RET]. That is, type Ctrl-a to enter the command mode, then type : to enter the screen's build-in command line. You can now activate the multiuser mode by entering multiuser on in the screen's command line that appears in reverse color at the bottom of the console window. To execute, hit Return.
The other guy just has to log in with the same user, type screen -x to connect to your screen session running in multiuser mode and follow what you do.
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
I turned logging on by connecting to screen session and during the session I could type in the root password for them to "su" to "root" where needed.
Obviously it's arguable how secure the whole thing was but the process was secure enough for what we were after.
Credits to Chris Wright who told me about the method.
- Hajir
[ Parent ]