From 934d9f80613fe3e5df8dc5eb38fae5a40ed2482a Mon Sep 17 00:00:00 2001 From: Conor Budworth Date: Sun, 9 Nov 2025 22:25:47 +0100 Subject: [PATCH] Update chroot_setup.sh --- chroot_setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chroot_setup.sh b/chroot_setup.sh index 22b0458..daee18f 100644 --- a/chroot_setup.sh +++ b/chroot_setup.sh @@ -23,7 +23,10 @@ echo ">>> Creating users" echo "root:${ROOT_PASSWORD}" | chpasswd useradd -m -G wheel -s /bin/bash "${USERNAME}" echo "${USERNAME}:${USER_PASSWORD}" | chpasswd + +mkdir -p /etc/sudoers.d echo "%wheel ALL=(ALL:ALL) ALL" > /etc/sudoers.d/10-wheel +chmod 440 /etc/sudoers.d/10-wheel echo ">>> Installing additional packages" pacman -S --noconfirm networkmanager openssl sbsigntools tpm2-tools sbctl