mirror of
https://github.com/Snigdha-OS/snigdhaos-archiso.git
synced 2025-09-06 20:55:15 +02:00
🚀 feat: policy kit rule
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
/* Allow members of the wheel group to execute any actions
|
||||||
|
* without password authentication, similar to "sudo NOPASSWD:"
|
||||||
|
*/
|
||||||
|
polkit.addRule(function(action, subject) {
|
||||||
|
if (subject.isInGroup("wheel")) {
|
||||||
|
return polkit.Result.YES;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
@@ -1 +0,0 @@
|
|||||||
/run/systemd/resolve/stub-resolv.conf
|
|
Reference in New Issue
Block a user