diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2013-01-20 15:45:14 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2013-01-20 15:46:36 +0100 |
| commit | 091196b383220899b45909548424ef6d223b671b (patch) | |
| tree | 0aa89385eec3b9b7440cdfc8c839ec522e2ee741 | |
| parent | c4854e76e2d45c1a01c07ab4869a3442aafa6066 (diff) | |
doc: Run `useradd -g guix-builder -G guix-builder'.
* doc/guix.texi (Setting Up the Daemon): Add `-G guix-builder' when
invoking `useradd'.
Suggested by Aleix Conchillo Flaqué <aconchillo@gmail.com>.
| -rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 28bdfb2152a..e4754637824 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -221,11 +221,14 @@ regarded as pure functions (@pxref{Introduction}). | |||
| 221 | On a GNU/Linux system, a build user pool may be created like this (using | 221 | On a GNU/Linux system, a build user pool may be created like this (using |
| 222 | Bash syntax and the @code{shadow} commands): | 222 | Bash syntax and the @code{shadow} commands): |
| 223 | 223 | ||
| 224 | @c See http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00239.html | ||
| 225 | @c for why `-G' is needed. | ||
| 224 | @example | 226 | @example |
| 225 | # groupadd guix-builder | 227 | # groupadd guix-builder |
| 226 | # for i in `seq 1 10`; | 228 | # for i in `seq 1 10`; |
| 227 | do | 229 | do |
| 228 | useradd -g guix-builder -d /var/empty -s `which nologin` \ | 230 | useradd -g guix-builder -G guix-builder \ |
| 231 | -d /var/empty -s `which nologin` \ | ||
| 229 | -c "Guix build user $i" guix-builder$i; | 232 | -c "Guix build user $i" guix-builder$i; |
| 230 | done | 233 | done |
| 231 | @end example | 234 | @end example |
