From ad3882efc7e20d906c768cb95b3f7ad49ed49dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 29 Jul 2022 12:09:08 +0200 Subject: [PATCH] activate wheel group in installer script --- installer/install-arch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 + +