Fix password creation issue for quick-install script
This commit is contained in:
parent
31af1779ea
commit
48d8b8ad28
@ -40,7 +40,7 @@ create_default_user() {
|
|||||||
/sbin/useradd -m -G sudo creator
|
/sbin/useradd -m -G sudo creator
|
||||||
|
|
||||||
echo ">>> Updating creator password..." >&2
|
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() {
|
set_creator_ssh_keys() {
|
||||||
|
Loading…
Reference in New Issue
Block a user