Update nopassword directive to newer default config

This commit is contained in:
Syahrial Agni Prasetya 2022-05-28 22:27:16 +07:00 committed by GitHub
parent c2a1bdbdd7
commit 7748b7d7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"