public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] xorg-server without suid still runs as root?
Date: Thu, 25 Jun 2020 15:58:30 +0300	[thread overview]
Message-ID: <rd271m$2gm4$1@ciao.gmane.io> (raw)

There's a news item about disabling the "suid" use flag on 
x11-base/xorg-server, which makes it runs as a normal user rather than 
root. Version 1.20.8-r1 of the ebuild disables "suid" by default. After 
updating to that and rebooting, X still runs as root though:

   $ ps aux | grep X
   root 270 1.7 0.6 226892 107052 tty1 Ssl+ 13:52 2:08 /usr/bin/X

   $ emerge --info xorg-server
   [...]
   x11-base/xorg-server-1.20.8-r1::gentoo was built with the following:
USE="ipv6 libglvnd systemd udev xorg -debug -dmx -doc (-elogind) -kdrive 
-libressl -minimal (-selinux) -static-libs -suid -unwind -wayland 
-xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"

Am I missing something? I'm using systemd. If it matters, the "kms" use 
flag in x11-drivers/nvidia-drivers is enabled.



             reply	other threads:[~2020-06-25 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-25 12:58 Nikos Chantziaras [this message]
2020-06-25 14:20 ` [gentoo-user] xorg-server without suid still runs as root? John Covici
2020-06-25 14:24 ` inasprecali
2020-06-25 14:45   ` [gentoo-user] " Nikos Chantziaras

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='rd271m$2gm4$1@ciao.gmane.io' \
    --to=realnc@gmail.com \
    --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