Update easy-arch.sh

This commit is contained in:
Cyfraka 2021-11-07 20:17:20 +01:00 committed by GitHub
parent 93a6baf961
commit c4bac781fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,7 +324,7 @@ if [ -n "$username" ]; then
useradd -m "$username"
usermod -aG wheel "$username"
echo "Setting user password for $username."
passwd $username
passwd "$username"
echo "$username ALL=(ALL) ALL" >> /etc/sudoers.d/"$username"
print "Setting user password for $username."
arch-chroot /mnt /bin/passwd "$username"