How to block messages from write?

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question
























    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.







    share|improve this question






















      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.







      share|improve this question












      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.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 25 '17 at 22:08









      yukashima huksay

      429217




      429217




















          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.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            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






























            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.






            share|improve this answer
























              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.






              share|improve this answer






















                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.






                share|improve this answer












                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 25 '17 at 22:21









                multithr3at3d

                37618




                37618






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)