I have also tried creating
/usr/share/polkit-1/rules.d/49-rootpw_global.rules with the same
contents, as it seems like some other rules reside there. Still no result
Yours sincerely, Jayson Willson
31.08.2015 13:49, Jayson Willson пишет:
Hello everybody!
I would like Polkit to prompt for _root_ password, not _user_ password.
On archwiki I found the following advice: create
/etc/polkit-1/rules.d/49-nopasswd_global.rules
and put the following into it:
/etc/polkit-1/rules.d/49-rootpw_global.rules
/* Always authenticate Admins by prompting for the root
* password, similar to the rootpw option in sudo
*/
polkit.addAdminRule(function(action, subject) {
return ["unix-user:root"];
});
However, it doesn't work on my Debian Stable system even after I reboot
the system. Polkit still prompts for user password. What should I do?