From: Rick Miller - Linux Device Registrar <rick@ee.uwm.edu> Subject: How to see others' stdout Date: 28 Apr 1993 15:04:51 GMT
In <1993Apr28.135430.3300@uk03.bull.co.uk> drigby@uk03.bull.co.uk writes:
>
>I heard that there was a prog to basically spy on the output of someone
>elses screen, is this true, and if so, has anyone got any code which will
>work on a SysV R4 system.
>
>If so, I'd be overjoyed to see it. Thanks
>
Me too, Dave! It'd be *GREAT*!!
With something like that, I could easily:
1.) *see* what some clueless newbie is doing wrong, like those
'little' things they forget to tell you about like that
they're STUCK IN ALL-CAPS MODE AND DIDN'T THINK IT MATTERED.
2.) grep every shell-session for stuff that would get *me* into
trouble (either with the Law or with my *wife*), ie: proprietary
software, nudie pic's, or drug deals. (For the last two, I'd
have to grep for the profanity and slang which always seems to
accompany such things.)
I know somebody's going to scream "Big Brother!", but this would be a
fantastic tool for SysAdmins who want to help stuck users and keep their
systems clear of illegal/illicit use.
It seems to me that there's a really *simple* way to do it though...
Maybe something in the /proc filesystem?
Rick Miller <rick@ee.uwm.edu> | <ricxjo@discus.mil.wi.us> Ricxjo Muelisto
Send a postcard, get one back! | Enposxtigu bildkarton kaj vi ricevos alion!
RICK MILLER // 16203 WOODS // MUSKEGO, WIS. 53150 // USA