From ce3b0a6aa0d8b3577a11f4ad6b8f511b1ef2e6fa Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Fri, 27 May 2022 12:38:55 +0200 Subject: [PATCH] Fixing wheel permission. --- easy-arch.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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."