Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 4 down vote accepted

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .