Merge the current passwordless sudo expiry head

Bring in the legacy-grant classifier fix and the reserved-prefix
quarantine from #9457 so this branch no longer carries a stale copy of
that command.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Afonso OliveiraandClaude Fable 5.1 committed 2026-09-17 10:44:30 +01:00
commit 99ddf35138
6 files changed
+600 -958

No files matched your search

+4 -4
View File
@@ -1,6 +1,6 @@
echo "Remove legacy temporary passwordless sudo grants"
# This removes current numeric grants, exact legacy username grants, corrupt or
# orphaned state, and their known timers. Administrator-authored sudoers files
# whose contents do not exactly match Omarchy's generated grammar are preserved.
sudo /usr/bin/omarchy-sudo-passwordless __cleanup-all
# Migration queues are per-user; the privileged repair is once per machine.
if ! /usr/bin/omarchy-sudo-passwordless __migration-complete; then
sudo /usr/bin/omarchy-sudo-passwordless __migrate
fi