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:
1 parent
30d03c4d26
commit
4a87a738b2
3 files changed
+4
-4
No files matched your search
@@ -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}%$
|
||||
Reference in new issue
Block a user