Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 16:47:01 -0700
From:      David Schultz <dschultz@uclink.berkeley.edu>
To:        Andrew Boothman <andrew@cream.org>
Cc:        Erik Trulsson <ertr1013@student.uu.se>, "Maxim M. Kazachek" <stranger@sberbank.sibnet.ru>, stable@FreeBSD.ORG
Subject:   Re: X not suid root in 4.6.1-RC2?
Message-ID:  <20020725234701.GA1703@HAL9000.homeunix.com>
In-Reply-To: <3D408C44.3080708@cream.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>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Andrew Boothman <andrew@cream.org>:
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020725234701.GA1703>