diff --git a/easy-arch.sh b/easy-arch.sh index bf303df..ae88e32 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -414,9 +414,7 @@ echo "root:$rootpass" | arch-chroot /mnt chpasswd # Setting user password. if [[ -n "$username" ]]; then - cat > /mnt/etc/sudoers.d/wheel < /mnt/etc/sudoers.d/wheel print "Adding the user $username to the system with root privilege." arch-chroot /mnt useradd -m -G wheel -s /bin/bash "$username" print "Setting user password for $username."