Number asdcontrol's sudoers policy and add it to the fast ring (#243)

* Use a numbered asdcontrol sudoers priority

* Add asdcontrol to the fast ring
This commit is contained in:
Ryan Hughes authored and GitHub committed 2026-08-30 13:02:46 -04:00
1 parent 30d03c4d26
commit 4a87a738b2
3 files changed
+4 -4

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
# Deny arbitrary asdcontrol arguments before allowing only the operations Omarchy uses.
# Keep this filename late-sorting so it also overrides stale broader grants.
ALL ALL=(ALL) !/usr/bin/asdcontrol
%wheel ALL=(root) NOPASSWD: /usr/bin/asdcontrol ^--detect (/dev/(usb/)?hiddev[0-9]+)( /dev/(usb/)?hiddev[0-9]+)*$, /usr/bin/asdcontrol ^/dev/(usb/)?hiddev[0-9]+$, /usr/bin/asdcontrol ^/dev/(usb/)?hiddev[0-9]+ -- [+-]?[0-9]{1,3}%$