Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, Linux Forums! I'm remotely SSH-ed to my school's Linux computer lab (using SSH Secure Shell), and I'm trying to use the "write" command from my laptop. This is the ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    1

    "write" permission off, but mesg set to "y"

    Hello, Linux Forums!

    I'm remotely SSH-ed to my school's Linux computer lab (using SSH Secure Shell), and I'm trying to use the "write" command from my laptop. This is the error message I'm getting:
    write: you have write permission turned off.
    Every solution I've found online says to use
    mesg y
    to enable messages, but I already have mesg y set. (When I type in "mesg" by itself, I'm told that it "is y.")

    Is there anything else that needs to be turned on? Thanks for your time.

    Sincerely
    wobster109

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    452
    frm "man mesg"

    > 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)).

    can you login to the server under different names? Then one can write
    to the other.
    the sun is new every day (heraclitus)

  3. #3
    Linux Newbie unlimitedscolobb's Avatar
    Join Date
    Jan 2008
    Posts
    120
    Quote Originally Posted by wobster109 View Post
    Hello, Linux Forums!

    I'm remotely SSH-ed to my school's Linux computer lab (using SSH Secure Shell), and I'm trying to use the "write" command from my laptop.
    Could you please paste the exact write command you are using? As (I think) tpl points out, your problem might be that with mesg y you are allowing writes to your terminal.

    By the way, you could write to yourself for test purposes (I've just tested it):
    Code:
    write <your-username>
    To do this you will have to open two SSH sessions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...