summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2018/07/13/guixbuilder.adoc
blob: 35057f936e46aade8345a20d02e3fc6b241b95a7 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
= Guix builder user creation commands
:categories: guix

[source,sh]
----
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
----