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

Re: tty locks up



> 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.
> 

If B has given the read/write permission of his terminal to others 
then he is responsible for all this and not B.

A

Atul

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

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