From 7748b7d7c51103da164f99f28b19aefaacfb6f33 Mon Sep 17 00:00:00 2001 From: Syahrial Agni Prasetya Date: Sat, 28 May 2022 22:27:16 +0700 Subject: [PATCH] Update nopassword directive to newer default config --- src/chroot_setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chroot_setup b/src/chroot_setup index effe7ad..6a1c9fb 100644 --- a/src/chroot_setup +++ b/src/chroot_setup @@ -54,5 +54,6 @@ printf "%s\n" "Enter $CHROOT_USER password" while true; do passwd $CHROOT_USER && break done -sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers + +sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/g' sudoers printf "%s\n" "Don't forget to run \"archbox --mount\" in host on boot"