How to block messages from write?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have an ssh account on a server. Someone is spamming me with write messages. So I can't run any command in an interactive login. Is there anyway I can prevent them from sending me write messages or any way I could just have a session without incoming write messages and do my things? I think they are just sending write messages to my usernames to whatever terminal I login with (pts/1 2 3 4 and so on) I don't want to contact the system admin for this.
ssh scripting write
add a comment |Â
up vote
0
down vote
favorite
I have an ssh account on a server. Someone is spamming me with write messages. So I can't run any command in an interactive login. Is there anyway I can prevent them from sending me write messages or any way I could just have a session without incoming write messages and do my things? I think they are just sending write messages to my usernames to whatever terminal I login with (pts/1 2 3 4 and so on) I don't want to contact the system admin for this.
ssh scripting write
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an ssh account on a server. Someone is spamming me with write messages. So I can't run any command in an interactive login. Is there anyway I can prevent them from sending me write messages or any way I could just have a session without incoming write messages and do my things? I think they are just sending write messages to my usernames to whatever terminal I login with (pts/1 2 3 4 and so on) I don't want to contact the system admin for this.
ssh scripting write
I have an ssh account on a server. Someone is spamming me with write messages. So I can't run any command in an interactive login. Is there anyway I can prevent them from sending me write messages or any way I could just have a session without incoming write messages and do my things? I think they are just sending write messages to my usernames to whatever terminal I login with (pts/1 2 3 4 and so on) I don't want to contact the system admin for this.
ssh scripting write
asked Dec 25 '17 at 22:08
yukashima huksay
429217
429217
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
From man 1 write:
You can prevent people (other than the superuser) from writing to you
with the mesg(1) command. Some commands, for example nroff(1) and
pr(1), may automatically disallow writing, so that the output they
produce isn't overwritten
From man 1 mesg:
mesg [option] [n|y]
Therefore, running mesg n should disable this.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
From man 1 write:
You can prevent people (other than the superuser) from writing to you
with the mesg(1) command. Some commands, for example nroff(1) and
pr(1), may automatically disallow writing, so that the output they
produce isn't overwritten
From man 1 mesg:
mesg [option] [n|y]
Therefore, running mesg n should disable this.
add a comment |Â
up vote
3
down vote
accepted
From man 1 write:
You can prevent people (other than the superuser) from writing to you
with the mesg(1) command. Some commands, for example nroff(1) and
pr(1), may automatically disallow writing, so that the output they
produce isn't overwritten
From man 1 mesg:
mesg [option] [n|y]
Therefore, running mesg n should disable this.
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
From man 1 write:
You can prevent people (other than the superuser) from writing to you
with the mesg(1) command. Some commands, for example nroff(1) and
pr(1), may automatically disallow writing, so that the output they
produce isn't overwritten
From man 1 mesg:
mesg [option] [n|y]
Therefore, running mesg n should disable this.
From man 1 write:
You can prevent people (other than the superuser) from writing to you
with the mesg(1) command. Some commands, for example nroff(1) and
pr(1), may automatically disallow writing, so that the output they
produce isn't overwritten
From man 1 mesg:
mesg [option] [n|y]
Therefore, running mesg n should disable this.
answered Dec 25 '17 at 22:21
multithr3at3d
37618
37618
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f413029%2fhow-to-block-messages-from-write%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password