[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

tty locks up



Hi,

Let user A use ttyp0
Let user B use ttyq1

Now B can do this from his terminal:  cat < /dev/ttyp0 > /dev/null&
And thus, A will be locked for ever. Moreover, he can not just find out
what is happening. Nor can he log out. Also, the ps listing shows just
"cat" for the user B and thus no one can know what is happening to the
terminal ttyp0. User A is on the mercy of B.

Isn't this serious? Is there any way to find out who is reading a
terminal. And how to overcome the above problem.

Sharad.


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/

------------------------------