[10759] in bugtraq

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

Re: RedHat 6.0, /dev/pts permissions bug when using xterm

daemon@ATHENA.MIT.EDU (Brian D. Winters)
Wed Jun 9 14:56:13 1999

Mail-Followup-To: BUGTRAQ@netspace.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-Id: <19990608112320.A18619@flake.dyndns.org>
Date: 	Tue, 8 Jun 1999 11:23:20 -0700
Reply-To: "Brian D. Winters" <brianw@ALUMNI.CALTECH.EDU>
From: "Brian D. Winters" <brianw@ALUMNI.CALTECH.EDU>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <375D51CD.CCAD108B@nwlink.com>; from Zack on Tue, Jun 08,
              1999 at 10:24:29AM -0700

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.

Brian

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