At 02:35 PM 2/18/2002 -0600, you wrote:
>give them all user accounts on my box. They connect via ssh to my box and
>get a command prompt. I want to break the normal security precautions and
>let them see, but not modify, what I am typing, and maybe chat with them via
>IM, IRC or even voice-chat (it doesn't matter, but you see the potential).
>
>It seems like this is doable, but how?

It is definitely doable using telnet and a sniffer. You could just pump the 
sniffer's output into a filter and then dump it to n terminals. I'm sure 
you could do the same with the console device, but in a different fashion.

I wonder if there isn't something already out there? Hmm, let's see..

http://freshmeat.net/projects/maxty/
http://freshmeat.net/projects/interceptty/

Those are for ttys. I'm sure there are others.

Now, I got a little curious and tried something. I opened up an xterm that 
was attached to /dev/pts/1 and then in another xterm typed:

[EMAIL PROTECTED] /root]# cat /etc/printcap > /dev/pts/1

In the xterm attached to /dev/pts/1 I get:

[EMAIL PROTECTED] dpuryear]$ i am here
bash: i: command not found
[EMAIL PROTECTED] dpuryear]$ # /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.

hpdeskjet|lp:\
         :sh:\
         :ml=0:\
         :mx=0:\
         :sd=/var/spool/lpd/hpdeskjet:\
         :lp=|/usr/share/printconf/smbprint:\
         :lpd_bounce=true:\
         :if=/usr/share/printconf/mf_wrapper:

###############################################################################
## Everything below here is included verbatim from /etc/printcap.local       ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.

Regards, Dustin


---
Dustin Puryear <[EMAIL PROTECTED]>
Information Systems Contractor
http://members.telocity.com/~dpuryear
PGP Key available at http://www.us.pgp.net
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams

================================================
BRLUG - The Baton Rouge Linux User Group
Visit http://www.brlug.net for more information.
Send email to [EMAIL PROTECTED] to change
your subscription information.
================================================

Reply via email to