summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-16 10:56:55 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-16 10:56:55 +0100
commite7d83113a7a625091393603c3e95439b56ee80d5 (patch)
tree9cdb1fe991de1ccd04e966990317306be2ab585b /util
parentd87649914515cdebfea800607b6efb5ef00d7ff0 (diff)
downloadarchinstall-e7d83113a7a625091393603c3e95439b56ee80d5.tar
archinstall-e7d83113a7a625091393603c3e95439b56ee80d5.tar.zst
archinstall-e7d83113a7a625091393603c3e95439b56ee80d5.zip
Bugfix for password settings.
Diffstat (limited to 'util')
-rw-r--r--util/configure_users.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/configure_users.sh b/util/configure_users.sh
index be91f2d..62bd17a 100644
--- a/util/configure_users.sh
+++ b/util/configure_users.sh
@@ -22,11 +22,11 @@ admin_username=$1
default_password=$2
-echo "root:$default_password" | chpasswd
+echo "root:${default_password}" | chpasswd
useradd -m $admin_username # create user and according home directory
usermod -aG wheel $admin_username # add user to sudo-priviledged wheel group
-echo "$admin_username:$default_password" | chpasswd
+echo "${admin_username}:${default_password}" | chpasswd
sed -i '/%wheel ALL=(ALL) ALL/s/^# //g' /etc/sudoers # activate wheel group
# by uncommenting special