On UNIX systems, you can write any messages to another terminal, using write
command as far as the user at the receiving side accepts messages. Whether or not to accept messages is set by mesg {y|n}
command.
According to man mesg
,
Traditionally, write access is allowed by default. However, as users become more conscious of various security risks, there is a trend to remove write access by default, at least for the primary login shell.
But what kind of security risks are to be caused by mesg y
?