From: kwkhui@hkbn.net
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Heads up if you start X with startx; xorg-server suid flag
Date: Mon, 31 Dec 2012 22:06:00 +0800 [thread overview]
Message-ID: <20121231220600.52151012@gentoo-main.kwkh-home> (raw)
In-Reply-To: <20121231112912.062ea9d2@khamul.example.com>
[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]
On Mon, 31 Dec 2012 11:29:12 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Mon, 31 Dec 2012 16:53:47 +0800
> kwkhui@hkbn.net wrote:
>
> > On Mon, 31 Dec 2012 10:03:40 +0200
> > Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> >
> > > It's not in the profile, the xorg-server ebuild sets USE="suid" on
> > > by default.
> > >
> > > Most likely is that Walter has USE="-suid" in his make.conf and
> > > sets it back on for things he's checked out personally. Meaning
> > > that in this case one slipped through.
> >
> > I suspect it is a USE="-* (blah)" rather than an explicit
> > USE="-suid" in the make.conf file.
> >
> > One question though --- should the xorg-server ebuild be such that
> > IUSE="(blah) +suid" when using a hardened-profile?
>
> That already has a de-facto answer; USE="suid" must be on by default
> as without it users cannot run a desktop (xorg-server does not yet run
> without root permissions)
But(!) if one uses a login manager, xorg server would only be ever be
run by root, right? Hence the use flag rather than a must like, e.g.,
sys-apps/shadow (and the question whether the dangerous suid should be
set in desktop profiles instead of default on even for hardened).
Kerwin.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-12-31 14:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-31 6:28 [gentoo-user] Heads up if you start X with startx; xorg-server suid flag Walter Dnes
2012-12-31 6:40 ` Volker Armin Hemmann
2013-01-02 12:49 ` Neil Bothwick
2012-12-31 6:47 ` [gentoo-user] " Walter Dnes
2012-12-31 7:57 ` Dale
2012-12-31 8:03 ` Alan McKinnon
2012-12-31 8:53 ` kwkhui
2012-12-31 9:29 ` Alan McKinnon
2012-12-31 14:06 ` kwkhui [this message]
2012-12-31 14:42 ` Kevin Chadwick
2012-12-31 12:38 ` Dale
2012-12-31 16:33 ` Philip Webb
2012-12-31 16:44 ` Bruce Hill
2012-12-31 10:39 ` Nikos Chantziaras
2012-12-31 13:29 ` [gentoo-user] " covici
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121231220600.52151012@gentoo-main.kwkh-home \
--to=kwkhui@hkbn.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox