Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So currently on this server if two people are logged into the same server, you can do something like:

-bash-4.1$ cat /dev/urandom | write username

It will print a bunch of junk to their terminal. I do not have root or superuser access to the server. Is there something I can do, as a user, to prevent someone else from piping output to my terminal?

share|improve this question
    
You could have found @demure's flawless answer by reading the man-page to write. –  tink May 14 '13 at 23:28

1 Answer 1

up vote 4 down vote accepted

mesg n is a per user setting to turn off wall write and talk receiving

http://linux.die.net/man/1/mesg

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.