diff options
author | EuAndreh <eu@euandre.org> | 2024-11-18 08:21:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-18 08:44:57 -0300 |
commit | 960e4410f76801356ebd42801c914b2910a302a7 (patch) | |
tree | 615d379416f72956d0c1666c63ce062859041fbe /src/content/pastebins/2018/07/13/guixbuilder.adoc | |
parent | Remove jekyll infrastructure setup (diff) | |
download | euandre.org-960e4410f76801356ebd42801c914b2910a302a7.tar.gz euandre.org-960e4410f76801356ebd42801c914b2910a302a7.tar.xz |
Diffstat (limited to 'src/content/pastebins/2018/07/13/guixbuilder.adoc')
-rw-r--r-- | src/content/pastebins/2018/07/13/guixbuilder.adoc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/content/pastebins/2018/07/13/guixbuilder.adoc b/src/content/pastebins/2018/07/13/guixbuilder.adoc new file mode 100644 index 0000000..82204a8 --- /dev/null +++ b/src/content/pastebins/2018/07/13/guixbuilder.adoc @@ -0,0 +1,26 @@ +--- + +title: Guix builder user creation commands + +date: 2018-07-13 + +layout: post + +lang: en + +eu_categories: guix + +ref: guix-builder-user-creation-commands + +--- + +```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 +``` |