Jump to content

permissions/owner problem with write in ssh


RVDowning
 Share

Recommended Posts

Have a problem trying to use "write" in ssh with another machine, so I've been trying it to myself (user: rvd) on my own machine.

 

If I open a new terminal window and do "mesg" it is always "n" If I try "mesg y", I get a "mesg: error: tty device is not owned by group `tty'" So, I do a "chgrp tty /dev/pts/*" and can then do a "mesg y".

 

But, if I try to do a "write rvd" I get "write: rvd has messages disabled". Each new item that comes into "/dev/pts" seems to be in a non "tty" group: "rvd", "root", "mike", etc. and not "tty". So, somewhere it seems I need to set the group to "tty", but I must not be doing it in the right place.

 

Or, am I totally barking up the wrong tree here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...