On Sun, 17 Feb 2002 01:11, Borsenkow Andrej wrote:
> > when I run rxvt/xterm/konsole/gnome-terminal, my pseudoterminals at
> > /dev/pts/* does not own group "tty" so I cannot use
> > % mesg y
> > mesg: error: tty device is not owned by group `tty'
> >
> > and users cannot "talk" to each other.
> >
> > When I log on text console, permission for /dev/vc/* are owned by
> > group tty so talk here works.
> >
> > Is it problem with devfs? pam? init?
>
> Well, I am really confused here.
>
> - permissions for console (/dev/tty*) are (most probably) set either by
> mingetty or by login. Neither pam nor devfsd are responsible for them.

Here's an extract from the default devfsd.conf for Debian:
# set the group to "tty" of the pseudo-tty device.  This is necessary for
# correct operation of mesg(1).
REGISTER        ^pts/.* PERMISSIONS -1.tty 0600

This allows "mesg" to work as expected and seems to be working well for all 
Debian devfsd users!

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

Reply via email to