unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Support for setuid binaries
@ 2014-04-30 21:20 Ludovic Courtès
  2014-04-30 22:26 ` David Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-04-30 21:20 UTC (permalink / raw)
  To: guix-devel

Hello,

Commit 09e028f adds support for setuid binaries.  Since the store cannot
contain setuid binaries, we use the same technique as NixOS: setuid
binaries are created when booting (or when switching configurations.)

That is, for each setuid program, a hard link or a copy of the
executable is created under /run/setuid-programs and make setuid-root.

You can test it by running:

  ./pre-inst-env guix system vm build-aux/hydra/demo-os.scm

and running for instance ‘ping’ as guest from there.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-01 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30 21:20 Support for setuid binaries Ludovic Courtès
2014-04-30 22:26 ` David Thompson
2014-05-01 10:45   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).