From nobody@FreeBSD.org  Thu Jan 17 04:46:24 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 4BEEA37B404
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jan 2002 04:46:24 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0HCkOS33233;
	Thu, 17 Jan 2002 04:46:24 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201171246.g0HCkOS33233@freefall.freebsd.org>
Date: Thu, 17 Jan 2002 04:46:24 -0800 (PST)
From: Dylan Carlson <absinthe@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: xfree 4 packages in 4.4-RELEASE do not set X as suid root
X-Send-Pr-Version: www-1.0

>Number:         33987
>Category:       misc
>Synopsis:       xfree 4 packages in 4.4-RELEASE do not set X as suid root
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 17 04:50:01 PST 2002
>Closed-Date:    Thu Jan 17 04:54:11 PST 2002
>Last-Modified:  Thu Jan 17 05:10:01 PST 2002
>Originator:     Dylan Carlson
>Release:        4.4-current
>Organization:
>Environment:
FreeBSD sysmon1.3path.com 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Tue Jan  8 19:33:26 EST 2002     root@sysmon1.3path.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
non-root cannot run X without making the server suid root.  Package install should handle this?
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Thu Jan 17 04:54:11 PST 2002 
State-Changed-Why:  
The reason of not installing X server setuid root by default 
is displayed after a package install.  An online copy of the 
message and a possible workaround could be found here: 

http://cvsweb.FreeBSD.org/ports/x11/XFree86-4/pkg-message?rev=HEAD 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33987 

From: Thomas Quinot <thomas@cuivre.fr.eu.org>
To: Dylan Carlson <absinthe@pobox.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: misc/33987: xfree 4 packages in 4.4-RELEASE do not set X as suid root
Date: Thu, 17 Jan 2002 13:54:17 +0100

 Le 2002-01-17, Dylan Carlson crivait :
 
 > >Description:
 > non-root cannot run X without making the server suid root.  Package install should handle this?
 
 See /usr/ports/x11/XFree86-4/pkg-message:
 
 ************************************************************************
 * To improve security, the X server is installed without an SUID bit.  *
 * This is suitable for use with xdm, but not with a startx script.     *
 * If you need to use a startx script, install the x11/wrapper package. *
 ************************************************************************
 
 > >Fix:
 
 Install /usr/ports/x11/wrapper
 
 -- 
     Thomas.Quinot@Cuivre.FR.EU.ORG
>Unformatted:
