Dotfiles/setup
Amir Alexander Abdelbaki 2774a00554 fix(installer): make sudo -v passwordless during in-chroot TUI install
The temporary setup drop-in granted `NOPASSWD: ALL`, which covers `sudo <cmd>`
but NOT `sudo -v`. Installers run by the TUI (starship, rustup, …) call `sudo -v`
to pre-authorise, and that check still demands a password whenever the user has
any password-required sudoers entry — which they do, via the wheel rule in
10-wheel. The result was a hidden `[sudo] password for <user>:` prompt that
stalled the otherwise-unattended module install.

Add `Defaults:<user> !authenticate` to the 99-setup-nopasswd drop-in (in both
the auto and guided installers) so the auth check is skipped entirely for the
setup user; `sudo -v` and `sudo <cmd>` are now both passwordless during setup.
Verified live in a VM: `sudo -nv` for the user went from "a password is required"
to rc=0 after adding the line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5kHioUMK3mtf2eiLEozCM
2026-06-27 01:50:17 +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 fix(installer): make the unattended module path non-interactive 2026-06-27 01:15:43 +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): make sudo -v passwordless during in-chroot TUI install 2026-06-27 01:50:17 +02:00
archbaseos-guided-install.sh fix(installer): make sudo -v passwordless during in-chroot TUI install 2026-06-27 01:50:17 +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(installer): allow user/LUKS passwords to be set via the answerfile 2026-06-27 01:43:17 +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 fix(installer): make the unattended module path non-interactive 2026-06-27 01:15:43 +02:00