[14180] in bugtraq

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

Re: [XFree86 3.3.6] fix for race conditions in xterm logfile

daemon@ATHENA.MIT.EDU (Olaf Kirch)
Tue Mar 7 05:23:08 2000

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-Id:  <20000306103505.E16488@monad.swb.de>
Date:         Mon, 6 Mar 2000 10:35:05 +0100
Reply-To: Olaf Kirch <okir@CALDERA.DE>
From: Olaf Kirch <okir@CALDERA.DE>
X-To:         BUGTRAQ@SECURITYFOCUS.COM
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To:  <20000301183950.D14657@ecn.purdue.edu>; from
              branden@ecn.purdue.edu on Wed, Mar 01, 2000 at 06:39:51PM -0500

On Wed, Mar 01, 2000 at 06:39:51PM -0500, Branden Robinson wrote:
> Here's a possible fix.  Olaf had a different one, but it is applicable only
> to Linux distributions that use Red Hat's utempter apparatus, which I
> understand is a kind of clone of utmpd.

Just to clarify this a little; the patch I did was not for this specifiy
problem; it's purpose is to do away with the setuid root requirement for
xterm altogether. The only two reasons for requiring a setuid root bit on
xterm are ptys (taken care of by /dev/pts nowadays), and utmp management
(which we're currently doing using utempter). The same holds for kterm
and kconsole, as well as the gnome counterparts I assume.

Olaf
--
Olaf Kirch         |  --- o --- Nous sommes du soleil we love when we play
okir@monad.swb.de  |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax
okir@caldera.de    +-------------------- Why Not?! -----------------------
         UNIX, n.: Spanish manufacturer of fire extinguishers.

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