Russell Coker writes:
> 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!
Good idea. I've done something similar in my sample devfsd.conf file.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|