On Tue, 18 Aug 1998, R. Brock Lynn wrote:
> Hey, and while we're at it, let's have a device file that does nothing but, when
> read, spits out all the characters that are typed in... like "script" does.
> Heheh, I know it might be unethical to actually monitor your "guests"
> keystrokes, but hey, who said ethics has anything to do with the technical
> ability to do something :)
>
Look at ttysnoop. This program allow to intercept all input/output from a tty
and clone those to other tty. It use a UNIX-domain socket for comunicate
betwen client and server. You can see all what a user do, and you can also
type in his console. So I thing is't a great job to intercept the keyboard,
only problem that arise I think is to deactivate the kernel screensaver.
------------------------------------------------------------------------------
Best wishes,
Marcel - Titus MARGINEAN
[EMAIL PROTECTED]