diff options
Diffstat (limited to '_pastebins/guix-builder-user-creation-commands.md')
-rw-r--r-- | _pastebins/guix-builder-user-creation-commands.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/_pastebins/guix-builder-user-creation-commands.md b/_pastebins/guix-builder-user-creation-commands.md new file mode 100644 index 0000000..356fe4b --- /dev/null +++ b/_pastebins/guix-builder-user-creation-commands.md @@ -0,0 +1,17 @@ +--- +title: Guix builder user creation commands +date: 2018-07-13 +layout: pastebin +lang: en +--- + +```shell +groupadd --system guixbuild +for i in `seq -w 1 10`; +do + useradd -g guixbuild -G guixbuild \ + -d /var/empty -s `which nologin` \ + -c "Guix build user $i" --system \ + guixbuilder$i; +done +``` |