Unix如何阻止Unix/linux“墙”消息传递?
如何阻止unix/linuxUnix如何阻止Unix/linux“墙”消息传递?,linux,unix,Linux,Unix,如何阻止unix/linuxwall消息传递 Example: SSH somemachine WALL annoy the s*** out of people on machine 所需目标:拒绝拥有机器上的墙mesg n 从手册页 DESCRIPTION Mesg controls the access to your terminal by others. It's typically used to allow or disallow other users to writ
wall
消息传递
Example:
SSH somemachine
WALL annoy the s*** out of people on machine
所需目标:拒绝拥有机器上的墙mesg n
从手册页
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)).
编辑:
这不会阻止root
发送墙消息mesg n
从手册页
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)).
编辑:
这不会阻止root
发送墙消息请注意,机器上不想看到wall
消息的每个用户都必须执行mesg n
。将mesg n
放在/etc/profile
中可能会对所有用户都这样做
或者,如果您只希望root
能够运行wall
,请更改其权限:chmod 700/usr/bin/wall
请注意,机器上不想看到wall
消息的每个用户都必须执行mesg n
。将mesg n
放在/etc/profile
中可能会对所有用户都这样做
或者,如果您只希望
root
能够运行wall
,请更改其权限:chmod 700/usr/bin/wall
您可以简单地卸载该程序吗?或者删除上面的可执行标志?我不是所需机器的root用户。我正在寻找一种方法来抑制,如果没有别的办法,如果你不是机器的根,除了你自己,你将无法为任何人做任何事情。这就是你要问的吗?是的,我不希望其他人使用“墙”ssh进入机器并粘贴我的终端。这个问题与MySQL有什么关系?你能简单地卸载这个程序吗?或者删除上面的可执行标志?我不是所需机器的root用户。我正在寻找一种方法来抑制,如果没有别的办法,如果你不是机器的根,除了你自己,你将无法为任何人做任何事情。这就是你要问的吗?是的,我不希望其他人使用“墙”ssh进入机器并粘贴我的终端。这个问题与MySQL有什么关系?Alex-我不在乎root是否可以发送消息。只有其他用户应该为您做这件事。在bashrc中启动了吗?我相信是这样,.bashrc.
,.bash\u profile
或.profile
都可以-我不在乎root是否可以发送消息。只有其他用户应该为您做这件事。在bashrc启动了吗?我相信是这样,.bashrc.
,.bash\u profile
或.profile
就可以了