* spy program tty error
@ 2001-06-04 11:17 selcuk karaca
0 siblings, 0 replies; only message in thread
From: selcuk karaca @ 2001-06-04 11:17 UTC (permalink / raw)
To: tru64-unix-managers
Hello admins,
I have small problem, I ask you to help me ...
My platform :
Alpha 4100 2 Gb RAM ,
DU 4.0D
I am trying to make a spy program, to see what our terminal users are doing
(sometimes it is really neeeded)
I have written a script ;
in .profile, last line is;
/usr/bin/sh -c "runform30 form_application | tee -a `tty` " 1> MY_TTY
in this shell command, the output is directly sent to my terminal and "tee"d
to the user's terminal.
Now there are some problems here,
Shell command can not write to the root's tty, infact it can not write to
anyone's tty, apart from himself..
it gives an error in the profile execution like the following ;
/dev/ttyXX: can not create
When I look at the file permissions...
crw--w---- 2 selcuk terminal 6, 59 Jun 4 14:09 /dev/ttysb
it is easy to understand because no one is permitted to write to my terminal
file..
But I want that user to output his screen to my terminal
How can I achieve this without changing terminal device file permissions ..
OR any other method to spy terminal user display ???
TIA...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-04 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-04 11:17 spy program tty error selcuk karaca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox