Skip to content

Add sudo password prompt alerts#889

Merged
ilysenko merged 1 commit into
mainfrom
codex/sudo-password-alert
Jul 12, 2026
Merged

Add sudo password prompt alerts#889
ilysenko merged 1 commit into
mainfrom
codex/sudo-password-alert

Conversation

@ilysenko

Copy link
Copy Markdown
Owner

Summary

  • add opt-in CODEX_SUDO_ALERT=1 notifications immediately before interactive sudo authentication
  • prefer PipeWire/PulseAudio desktop sounds with canberra, ALSA, and terminal-bell fallbacks
  • route native package installation and dependency bootstrap through the shared fail-safe wrapper
  • document the option and cover cached credentials, failures, ordering, and Make wiring

Tests/checks

  • bash -n scripts/sudo-with-alert.sh scripts/install-deps.sh tests/scripts_smoke.sh
  • git diff --check
  • dry-runs for make install, install-native, bootstrap-native, and update-native
  • bash tests/scripts_smoke.sh
  • manual PipeWire sound verification before a real sudo password prompt

Notes

The feature is disabled by default. Missing or failing audio backends do not block sudo or change the privileged command status.

@ilysenko
ilysenko merged commit 1ab21bf into main Jul 12, 2026
10 checks passed
@ilysenko
ilysenko deleted the codex/sudo-password-alert branch July 12, 2026 11:06
Copilot AI pushed a commit to joshyorko/codex-desktop-linux that referenced this pull request Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant