Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] xorg-server without suid still runs as root?
Date: Thu, 25 Jun 2020 12:59:08
Message-Id: rd271m$2gm4$1@ciao.gmane.io
1 There's a news item about disabling the "suid" use flag on
2 x11-base/xorg-server, which makes it runs as a normal user rather than
3 root. Version 1.20.8-r1 of the ebuild disables "suid" by default. After
4 updating to that and rebooting, X still runs as root though:
5
6 $ ps aux | grep X
7 root 270 1.7 0.6 226892 107052 tty1 Ssl+ 13:52 2:08 /usr/bin/X
8
9 $ emerge --info xorg-server
10 [...]
11 x11-base/xorg-server-1.20.8-r1::gentoo was built with the following:
12 USE="ipv6 libglvnd systemd udev xorg -debug -dmx -doc (-elogind) -kdrive
13 -libressl -minimal (-selinux) -static-libs -suid -unwind -wayland
14 -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"
15
16 Am I missing something? I'm using systemd. If it matters, the "kms" use
17 flag in x11-drivers/nvidia-drivers is enabled.

Replies

Subject Author
Re: [gentoo-user] xorg-server without suid still runs as root? John Covici <covici@××××××××××.com>
Re: [gentoo-user] xorg-server without suid still runs as root? inasprecali <inasprecali@×××××××.org>