OM-SEC-01: Make passwordless sudo expiry fail closed

This commit is contained in:
Afonso Oliveira committed 2026-09-01 10:40:46 +01:00
1 parent 945af75aa2
commit 87625c2ad8
6 files changed
+955 -148

No files matched your search

+6
View File
@@ -0,0 +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