From owner-freebsd-stable Thu Jul 25 16:46:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79D2F37B400 for ; Thu, 25 Jul 2002 16:46:38 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-156-170.client.attbi.com [12.233.156.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A51B43E88 for ; Thu, 25 Jul 2002 16:46:29 -0700 (PDT) (envelope-from dschultz@uclink.berkeley.edu) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.3/8.12.3) with ESMTP id g6PNl3H2001737; Thu, 25 Jul 2002 16:47:08 -0700 (PDT) (envelope-from dschultz@uclink.berkeley.edu) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.3/8.12.3/Submit) id g6PNl2Fb001736; Thu, 25 Jul 2002 16:47:02 -0700 (PDT) (envelope-from dschultz@uclink.berkeley.edu) Date: Thu, 25 Jul 2002 16:47:01 -0700 From: David Schultz To: Andrew Boothman Cc: Erik Trulsson , "Maxim M. Kazachek" , stable@FreeBSD.ORG Subject: Re: X not suid root in 4.6.1-RC2? Message-ID: <20020725234701.GA1703@HAL9000.homeunix.com> Mail-Followup-To: Andrew Boothman , Erik Trulsson , "Maxim M. Kazachek" , stable@FreeBSD.ORG References: <20020725103641.U18384-100000@sbk-gw.sibnet.ru> <3D3F7AF3.8030202@cream.org> <20020725041956.GA75402@falcon.midgard.homeip.net> <20020725112036.GB4236@HAL9000.homeunix.com> <3D408C44.3080708@cream.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D408C44.3080708@cream.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Andrew Boothman : > I understand the need to avoid installing suid binaries wherever > possible, it is just slightly confusing that as a non-xdm user it's > never explained what you need to do to get X working after you install it. das@HAL9000:/usr/ports/x11/XFree86-4> uname -rs FreeBSD 4.6-RELEASE das@HAL9000:/usr/ports/x11/XFree86-4> cat 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. * ************************************************************************ * If XFree86-4 is not a basic part of your operating system, add the * * following line to /etc/make.conf: XFREE86_VERSION=4 * ************************************************************************ > I think it'd be nice if sysinstall told you, or if xinit understood what > is needed if the X server isn't suid root. Definitely. I actually haven't used sysinstall in a while, so I don't know whether it installs the wrapper by default, or if that's even an option. > Thanks for everyone's help, I'll see if I can find a way to make this a > little clearer for new users. Great! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message