don't escape the pw

This commit is contained in:
oxapentane - 2023-06-10 18:07:06 +02:00
parent 82c8ac9551
commit bd4f5fb87a
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ pkgs.dockerTools.buildImage {
useradd-string = (user: is-admin: ''useradd \
-m \
${if is-admin then "-G ${jupyterAdminGroup}" else ""} \
-p $(printf "%q" $(cat /pw/hashed-password-${user})) \
-p $(cat /pw/hashed-password-${user}) \
${user} \
&& ln -s /workdir /home/${user}/shared-workdir \
'');