aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-23 00:05:54 -0300
committerEuAndreh <eu@euandre.org>2020-02-23 00:05:54 -0300
commitf3dcf71b836569462922352d40ebb244ea6c4cdf (patch)
tree6432da12078293c7c6e6ae5e3d01b488892c7a86
parent/home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebi... (diff)
downloadeuandre.org-f3dcf71b836569462922352d40ebb244ea6c4cdf.tar.gz
euandre.org-f3dcf71b836569462922352d40ebb244ea6c4cdf.tar.xz
/home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebins/guix-builder-user-creation-commands.md
-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
+```