From e1c29f1bb7adc1cfec461ad674afd21b68c8f4cb Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 12 Jun 2022 21:40:40 +0200 Subject: [PATCH] Add full path for useradd --- quick-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quick-installer.sh b/quick-installer.sh index 5dbadcb..a5bb063 100755 --- a/quick-installer.sh +++ b/quick-installer.sh @@ -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