create homedir for users

This commit is contained in:
oxapentane - 2023-06-09 21:18:26 +02:00
parent fdc09dabc1
commit c43a076a32
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ pkgs.dockerTools.buildImage {
let
cont-interpreter = "/bin/bash";
useradd-string = (user: hashed-pw: is-admin: ''useradd \
-m \
${if is-admin then "-G ${jupyterAdminGroup}" else ""} \
-p ${hashed-pw} \
${user}'');