This commit is contained in:
teldra 2022-02-07 23:30:58 +01:00
parent f506380d5a
commit 3251ed6037
1 changed files with 3 additions and 3 deletions

View File

@ -66,10 +66,10 @@ if [ "$ENC" == "1" ]; then
echo " rm -rf /etc/runit/core-services/99-changepwdisk.sh" >> /etc/runit/core-services/99-changepwdisk.sh
echo "fi" >> /etc/runit/core-services/99-changepwdisk.sh
fi
set -x
useradd -G wheel -m -s /usr/bin/bash -c "${USERNAME}" "${USERNAME}"
echo -e "${pass}\n${pass}" | passwd "${USERNAME}"
set +x
passwd -dl root
echo "echo \"User pw is \'${pass}\'\"" > /etc/runit/core-services/99-changepwuser.sh
@ -83,4 +83,4 @@ echo " rm -rf /etc/runit/core-services/99-changepwuser.sh" >> /etc/runit/core-s
echo "fi" >> /etc/runit/core-services/99-changepwuser.sh
}
}