2013/10/25 tim.lauridsen(a)gmail.com <tim.lauridsen(a)gmail.com>:
It is some time ago it was fighting with polkit, but as far is I
remember
you have to
make a .policy file to get pkexec to work right
Like this one I use in yumex.
https://github.com/timlau/yumex/blob/master/misc/dk.yumex.backend.policy.in
It should be installed in /usr/share/polkit-1/actions/
When you can make a rule to bypass the polkit password prompt
Do I need both - /usr/share/polkit-1/actions/*.policy and
/usr/share/polkit-1/rules.d/*.rules ?
--
With best regards, Peter Lemenkov.