Line 0
Link Here
|
|
|
1 |
Allow users management, create custom rules in |
2 |
%%LOCALBASE%%/etc/polkit-1/rules.d/ |
3 |
|
4 |
Replace PUTYOURLOGINHERE by your login. |
5 |
|
6 |
polkit.addRule(function(action, subject) { |
7 |
if (action.id == "org.lxqt.lxqt-admin-user" && subject.user == "PUTYOURLOGINHERE") { |
8 |
return polkit.Result.YES; |
9 |
} |
10 |
}); |