From 091196b383220899b45909548424ef6d223b671b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 20 Jan 2013 15:45:14 +0100 Subject: [PATCH] doc: Run `useradd -g guix-builder -G guix-builder'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/guix.texi (Setting Up the Daemon): Add `-G guix-builder' when invoking `useradd'. Suggested by Aleix Conchillo FlaquƩ . --- doc/guix.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 28bdfb2152..e475463782 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -221,11 +221,14 @@ regarded as pure functions (@pxref{Introduction}). On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands): +@c See http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00239.html +@c for why `-G' is needed. @example # groupadd guix-builder # for i in `seq 1 10`; do - useradd -g guix-builder -d /var/empty -s `which nologin` \ + useradd -g guix-builder -G guix-builder \ + -d /var/empty -s `which nologin` \ -c "Guix build user $i" guix-builder$i; done @end example