[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to setuid

From: Ludovic Courtès
Subject: Re: How to setuid
Date: Mon, 20 Mar 2017 09:50:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)


<address@hidden> skribis:

>      I have tried several times to get (/bin/X, specifically)
> setuid for obvious reasons. However, I can't find any examples of usage
> and attempting to follow the infopages has led to a bunch of different
> errors and failures (and rather useless error messages). I currently
> don't have any useful logs of what I tried and the output (it was on a
> LiveUSB I'm using for testing purposes), but I'm not wanting to use
> %desktop-services (or other service packs, for that matter), which has
> already been suggested.

To complement what Marius wrote, note that you don’t have to use
‘%desktop-services’ as-is to get X running.  You can remove services you
don’t want from ‘%desktop-services’ as shown at
(search for “remove”), or you can build your own service list.

In the latter case, you’ll want at least ‘slim-service’ or
‘sddm-service’ for the graphical login manager.  See
<> and

If you don’t want a graphical login manager, the solution would be to
install ‘xinit’ (which provides the ‘startx’ command) rather than make
Xorg setuid-root.  However, people reported in the past that there were
problems with ‘xinit’, though I forgot what it was.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]