diff --git a/mate/root/etc/cont-init.d/60-create-user b/mate/root/etc/cont-init.d/60-create-user index b79b13e..e5eaebd 100644 --- a/mate/root/etc/cont-init.d/60-create-user +++ b/mate/root/etc/cont-init.d/60-create-user @@ -1,12 +1,10 @@ #!/usr/bin/with-contenv bash -set -x - echo "**** create ${USERNAME} user and make our folders ****" && \ useradd -u 912 -U -d /home/${USERNAME} -s /bin/bash ${USERNAME} usermod -G users,wheel ${USERNAME} -echo "${USERNAME}:${USERNAME}" | chpasswd +echo "${USERNAME}:${PASSWORD}" | chpasswd mkdir -p /home/${USERNAME} chown -R ${USERNAME}:${USERNAME} /home/${USERNAME} diff --git a/xfce/root/etc/cont-init.d/60-create-user b/xfce/root/etc/cont-init.d/60-create-user index b79b13e..e5eaebd 100644 --- a/xfce/root/etc/cont-init.d/60-create-user +++ b/xfce/root/etc/cont-init.d/60-create-user @@ -1,12 +1,10 @@ #!/usr/bin/with-contenv bash -set -x - echo "**** create ${USERNAME} user and make our folders ****" && \ useradd -u 912 -U -d /home/${USERNAME} -s /bin/bash ${USERNAME} usermod -G users,wheel ${USERNAME} -echo "${USERNAME}:${USERNAME}" | chpasswd +echo "${USERNAME}:${PASSWORD}" | chpasswd mkdir -p /home/${USERNAME} chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}