Fix password creation issue for quick-install script

This commit is contained in:
Tanguy Herbron 2022-06-20 07:57:07 +00:00
parent 31af1779ea
commit 48d8b8ad28

View File

@ -40,7 +40,7 @@ create_default_user() {
/sbin/useradd -m -G sudo creator
echo ">>> Updating creator password..." >&2
sed -i 's/creator:\*:/creator:\$6\$saltsalt\$EamwjkVXAe1WqiTTXuzgsmljl5cpVewMLH3xl8TdvQ\/V4S9e30upeNz2bdLkG5\.H71TCEso5Nl0jpyZRx7xy6\/:/g' /etc/shadow
sed -i 's/creator:.:/creator:\$6\$saltsalt\$EamwjkVXAe1WqiTTXuzgsmljl5cpVewMLH3xl8TdvQ\/V4S9e30upeNz2bdLkG5\.H71TCEso5Nl0jpyZRx7xy6\/:/g' /etc/shadow
}
set_creator_ssh_keys() {