From 2b01bf338372c4c0d671b95840c044c284f4beba Mon Sep 17 00:00:00 2001 From: Michael Trip Date: Thu, 19 Jan 2023 15:55:40 +0100 Subject: [PATCH] finalizing --- mate/root/etc/cont-init.d/60-create-user | 4 +--- xfce/root/etc/cont-init.d/60-create-user | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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}