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>.
This commit is contained in:
		
							parent
							
								
									c4854e76e2
								
							
						
					
					
						commit
						091196b383
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -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 | On a GNU/Linux system, a build user pool may be created like this (using | ||||||
| Bash syntax and the @code{shadow} commands): | 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 | @example | ||||||
| # groupadd guix-builder | # groupadd guix-builder | ||||||
| # for i in `seq 1 10`; | # for i in `seq 1 10`; | ||||||
|   do |   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; |             -c "Guix build user $i" guix-builder$i; | ||||||
|   done |   done | ||||||
| @end example | @end example | ||||||
|  |  | ||||||
		Reference in a new issue