OM-SEC-01: Make passwordless sudo expiry fail closed
This commit is contained in:
1 parent
945af75aa2
commit
87625c2ad8
6 files changed
+955
-148
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user