[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ytalk...



On Wed, Oct 10, 2001 at 10:13:11AM -0500, Alexander Wallace wrote:
> Ok, now... Ytalk is working... Here is what is happennig... When I do a
> ytalk to the extra user that was created form my when debian was
> installed, that user gets promted to ytalk to the user requesting it...
> But all other users that I created after, and root also, automatically
> deny (they don't even get promted) a ytalk request.... Where do I change
> that??? Thanks!

Ah, it sounds like they have restrictive terminal permissions. I think
this is configured in /etc/default/devpts:

  # Set to 600 to have `mesg n' be the default
  TTYMODE=620

Users can still set 'mesg y' or 'mesg n' as they choose. Sounds like you
want 'mesg y' (620).

You'll need to remount /dev/pts to have this take effect. To avoid
having to reboot and other such evil, try something like 'mount -o
remount -t devpts devpts /dev/pts -ogid=5,mode=620' (set the number
after ogid to be whatever TTYGRP says in /etc/default/devpts, but it's
probably 5). /etc/default/devpts will sort this out in future.

If that doesn't work, then perhaps users' shell startup files are
setting 'mesg n'. /etc/profile and /etc/skel/* would be good places to
look for the culprit for default settings.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: