From d8e400c40c970996599c801974fadb6d49e60fdd Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 10 Oct 2020 14:51:52 -0300 Subject: Enforce all "post" and "pastebin" layouts have dates in filenames --- .../2018-07-13-guix-builder-user-creation-commands.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _pastebins/2018-07-13-guix-builder-user-creation-commands.md (limited to '_pastebins/2018-07-13-guix-builder-user-creation-commands.md') diff --git a/_pastebins/2018-07-13-guix-builder-user-creation-commands.md b/_pastebins/2018-07-13-guix-builder-user-creation-commands.md new file mode 100644 index 0000000..356fe4b --- /dev/null +++ b/_pastebins/2018-07-13-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