progress
This commit is contained in:
parent
f506380d5a
commit
3251ed6037
4
etc/base
4
etc/base
|
@ -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 " 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
|
echo "fi" >> /etc/runit/core-services/99-changepwdisk.sh
|
||||||
fi
|
fi
|
||||||
|
set -x
|
||||||
useradd -G wheel -m -s /usr/bin/bash -c "${USERNAME}" "${USERNAME}"
|
useradd -G wheel -m -s /usr/bin/bash -c "${USERNAME}" "${USERNAME}"
|
||||||
echo -e "${pass}\n${pass}" | passwd "${USERNAME}"
|
echo -e "${pass}\n${pass}" | passwd "${USERNAME}"
|
||||||
|
set +x
|
||||||
passwd -dl root
|
passwd -dl root
|
||||||
|
|
||||||
echo "echo \"User pw is \'${pass}\'\"" > /etc/runit/core-services/99-changepwuser.sh
|
echo "echo \"User pw is \'${pass}\'\"" > /etc/runit/core-services/99-changepwuser.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user