diff --git a/installer/install-arch b/installer/install-arch index 5540904..b9655c8 100755 --- a/installer/install-arch +++ b/installer/install-arch @@ -157,6 +157,9 @@ arch-chroot /mnt useradd --create-home --user-group --shell /usr/bin/zsh --group arch-chroot /mnt chsh -s /usr/bin/zsh +echo "Activating wheel group" +sed -i 's/^\#\s%wheel\sALL=(ALL:ALL)\sNOPASSWD:\sALL$/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /mnt/etc/sudoers + echo "${user}:${user_password}" | chpasswd --root /mnt echo "root:${user_password}" | chpasswd --root /mnt @@ -176,4 +179,5 @@ Manual configuration is still needed for the following - configure grub parameters for cryptvolume and resume hook - generate main grub.cfg with grub-mkconfig -o /boot/grub/grub.cfg --------------------- -EOF + +