May 14, 2009

Disable write

To disable the write command for a user, add the following line in his .bashrc file:
mesg off
You can turn it back by using mesg on or by simply deleting the line from .bashrc.

Click Here!