Add full path for useradd
This commit is contained in:
parent
1317aabeb1
commit
e1c29f1bb7
@ -37,7 +37,7 @@ check_sudo_installation() {
|
||||
|
||||
create_default_user() {
|
||||
echo ">>> Adding creator user..." >&2
|
||||
useradd -m -G sudo creator
|
||||
/sbin/useradd -m -G sudo creator
|
||||
|
||||
echo ">>> Updating creator password..." >&2
|
||||
sed -i 's/creator:\*:/creator:\$6\$saltsalt\$EamwjkVXAe1WqiTTXuzgsmljl5cpVewMLH3xl8TdvQ\/V4S9e30upeNz2bdLkG5\.H71TCEso5Nl0jpyZRx7xy6\/:/g' /etc/shadow
|
||||
|
Loading…
Reference in New Issue
Block a user