[10818] 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 (Gabriel Krabbe)
Mon Jun 14 14:42:52 1999

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14396.990614@guardiandr.de>
Date: 	Mon, 14 Jun 1999 09:31:07 +0200
Reply-To: Gabriel Krabbe <bb@ucrc.org>
From: Gabriel Krabbe <bb@UCRC.ORG>
X-To:         Scott Wunsch <scott@WUNSCH.ORG>
To: BUGTRAQ@NETSPACE.ORG

On Friday, June 11, 1999, Scott Wunsch wrote:

>> 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.
>
> I've been playing with this, and --enable-ttygid isn't enough either.  It looks
> like rxvt has to bee suid root in order to set the gid on the tty.  Mortals
> can't do it:

chmod g+s /usr/X11R6/bin/rxvt


Gabriel Krabbe
--
Some days, nothing goes left.

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