[Top][All Lists]

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

Re: How to setuid

From: Marius Bakke
Subject: Re: How to setuid
Date: Mon, 20 Mar 2017 07:48:01 +0100
User-agent: Notmuch/0.24 ( Emacs/25.1.1 (x86_64-unknown-linux-gnu)

address@hidden writes:

> Hello,
>      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.
> Can someone either A) improve the documents for setuid programs (and
> gexps) with some practical examples, or B) provide me with a (hopefully
> working) snippet to add to the config?

Setuid programs are documented here:

Following the "passwd" example, making "X" setuid root would be declared
like this:

   (cons #~(string-append #$xorg-server "/bin/X")

It's not clear to me how to improve this since it's very similar to how
other defaults are overridden. Any suggestions?


Attachment: signature.asc
Description: PGP signature

reply via email to

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