Re: Polkit: prompt for root password

2015-09-01 Thread Michael Biebl
Am 01.09.2015 um 21:13 schrieb Jayson Willson: > Ehmm... I do not know. Probably, what I have done is not correct. As I > understand, if my user is NOT in sudo group, then su prompts for root > password (just as always), and polkit will also prompt for root > password, instead of my user's. Correc

Re: Polkit: prompt for root password

2015-09-01 Thread Jayson Willson
Ehmm... I do not know. Probably, what I have done is not correct. As I understand, if my user is NOT in sudo group, then su prompts for root password (just as always), and polkit will also prompt for root password, instead of my user's. However, sudo seems to be more flexible, and though I do no

Re: Polkit: prompt for root password

2015-09-01 Thread Michael Biebl
Am 01.09.2015 um 20:54 schrieb Jayson Willson: > It seems to me, that such approach will increase security. If "sudo" and > "policykit" prompt for user password, then even if some other man knows > my user password, he can administer system, as he can both log into the > system and user sudo/polkit

Re: Polkit: prompt for root password

2015-09-01 Thread Jayson Willson
It seems to me, that such approach will increase security. If "sudo" and "policykit" prompt for user password, then even if some other man knows my user password, he can administer system, as he can both log into the system and user sudo/polkit, but if root password is required for using sudo/p

Re: Polkit: prompt for root password

2015-09-01 Thread Michael Biebl
Am 01.09.2015 um 20:29 schrieb Jayson Willson: > Thank you for your advice, I have found the way: > Comment out file > /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf, which overrides > /etc/polkit-1/localauthority.conf.d/50-localauthority.conf and makes > polkit consider members of "sudo"

Re: Polkit: prompt for root password

2015-09-01 Thread Jayson Willson
Thank you for your advice, I have found the way: Comment out file /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf, which overrides /etc/polkit-1/localauthority.conf.d/50-localauthority.conf and makes polkit consider members of "sudo" groups as administrators. Yours sincerely, Jayson W

Re: Polkit: prompt for root password

2015-09-01 Thread Matthias Klumpp
2015-09-01 19:49 GMT+02:00 Jayson Willson : > I have also tried creating > /usr/share/polkit-1/rules.d/49-rootpw_global.rules with the same contents, > [...] The problem with that is simply that the PolicyKit in Debian Unstable/Testing/Stable does not read the JavaScript rules files. Only the ve

Re: Polkit: prompt for root password

2015-09-01 Thread Jayson Willson
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 _roo