aboutsummaryrefslogtreecommitdiff
path: root/_pastebins
diff options
context:
space:
mode:
Diffstat (limited to '_pastebins')
-rw-r--r--_pastebins/guix-builder-user-creation-commands.md17
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
+```