Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unix how do you block unix/linux `wall` messaging?

Tags:

linux

unix

How do you block unix/linux wall messaging?

Example: 
SSH somemachine
WALL annoy the s*** out of people on machine

Desired goal: deny wall on owned machine

like image 555
stackoverflow Avatar asked Sep 04 '25 16:09

stackoverflow


1 Answers

mesg n

From the man page

DESCRIPTION
   Mesg controls the access to your terminal by others.  It's typically used to allow or disallow other users to write to your terminal (see write(1)).

Edit:

This will not prevent root from sending wall messages

like image 193
Alex Avatar answered Sep 07 '25 19:09

Alex