From f3dcf71b836569462922352d40ebb244ea6c4cdf Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 23 Feb 2020 00:05:54 -0300 Subject: /home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebins/guix-builder-user-creation-commands.md --- _pastebins/guix-builder-user-creation-commands.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _pastebins/guix-builder-user-creation-commands.md (limited to '_pastebins') 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 +``` -- cgit v1.2.3