Dotfiles/setup
Amir Alexander Abdelbaki f0db333fa4 fix(installer): stop sudo re-prompting during in-chroot module install
The base installers granted wheel sudo with `echo '%wheel ... ALL' >> /etc/sudoers`.
Because the stock sudoers ends with `@includedir /etc/sudoers.d`, that appended
rule is parsed AFTER the drop-ins, and since sudo applies the last matching rule,
it overrode the temporary 99-setup-nopasswd NOPASSWD rule — so the user had to
re-enter their password on every pacman/yay/flatpak call while the TUI installed
modules.

Grant wheel via /etc/sudoers.d/10-wheel instead, which sorts before
99-setup-nopasswd so NOPASSWD wins during the TUI run and password auth resumes
once the temp file is removed. Also guard that @includedir is present (so the
drop-ins are always read) and set both drop-ins to the canonical 0440 mode.
Applied to both archbaseos-guided-install.sh and arch-autoinstall.sh.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 19:39:32 +02:00
..
Setup-shell-4-containers setup: housekeeping — rename, deprecate, fix refs 2026-05-11 15:02:25 +02:00
archiso fix(archiso): use oflag=direct so USB write progress isn't misleading 2026-06-26 19:22:23 +02:00
deprecated privacy: remove hardcoded username and AWS signed URL 2026-05-12 14:17:48 +02:00
modules feat(installer): global flatpaks, drop redundant TUI hostname, upfront passwords 2026-06-26 18:40:49 +02:00
tools refactor(tui-install): replace dialog with plain-bash CLI prompts 2026-06-26 16:44:48 +02:00
arch-autoinstall.sh fix(installer): stop sudo re-prompting during in-chroot module install 2026-06-26 19:39:32 +02:00
archbaseos-guided-install.sh fix(installer): stop sudo re-prompting during in-chroot module install 2026-06-26 19:39:32 +02:00
audit-packages.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
generate-answerfile.sh feat(modules): enable timeshift, ffmpeg, imagemagick, sox, yt-dlp, inkscape by default 2026-06-26 19:32:13 +02:00
install-modules.sh feat(plymouth): add custom-logo variant, sync answerfile + docs 2026-06-26 10:57:32 +02:00
install.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
modules.conf feat(modules): enable timeshift, ffmpeg, imagemagick, sox, yt-dlp, inkscape by default 2026-06-26 19:32:13 +02:00
reset-arch.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
simple-install.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
tui-install.sh feat(modules): enable timeshift, ffmpeg, imagemagick, sox, yt-dlp, inkscape by default 2026-06-26 19:32:13 +02:00