🚀 feat: policy kit rule

This commit is contained in:
eshanized
2025-01-01 06:27:06 +05:30
parent 0752cd6e79
commit 0ce76c6b1c
2 changed files with 9 additions and 1 deletions

View File

@@ -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;
}
});

View File

@@ -1 +0,0 @@
/run/systemd/resolve/stub-resolv.conf