[2164] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

[linux-security] Re: RedHat 6.0, /dev/pts permissions bug when using xterm

daemon@ATHENA.MIT.EDU (Trevor Johnson)
Thu Jun 10 07:21:06 1999

Date: Thu, 10 Jun 1999 04:43:54 -0400 (EDT)
From: Trevor Johnson <trevor@jpj.net>
To: BUGTRAQ@netspace.org
cc: linux-security@redhat.com, Erik Troan <ewt@redhat.com>,
  security@redhat.com, lilax@linuxatlax.org
In-Reply-To: <19990608112320.A18619@flake.dyndns.org>
Resent-From: linux-security@redhat.com
Resent-Reply-To: linux-security@redhat.com

Brian's fix works for me.  I did up an SRPM (unsigned) with it in:

	http://linuxatlax.org/trevor/srpms/rxvt-2.6.PRE2-6.src.rpm

Brian D. Winters <brianw@ALUMNI.CALTECH.EDU> wrote:

> On Tue, Jun 08, 1999 at 10:24:29AM -0700, Zack wrote:
> > in /etc/fstab:
> >
> > none            /dev/pts        devpts      gid=5,mode=620   0 0
> 
> This is not sufficient when using rxvt and apparently several other
> xterm-a-likes.  By default rxvt overides the gid with the user's gid
> and changes the permissions to 622, even if the permissions specified
> in fstab are more restrictive than 622.  The solution with rxvt is to
> pass --enable-ttygid to the configure script.
__
Trevor Johnson

-- 
----------------------------------------------------------------------
Please refer to the information about this list as well as general
information about Linux security at http://www.aoy.com/Linux/Security.
----------------------------------------------------------------------

To unsubscribe:
  mail -s unsubscribe linux-security-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post