Re: Could someone help me with writing polkit rule?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I think so
The policy is to config pkexec to run something as root
The rule is to make the group get permission without having to enter a root/admin password

Tim


On Fri, Oct 25, 2013 at 2:08 PM, Peter Lemenkov <lemenkov@xxxxxxxxx> wrote:
2013/10/25 tim.lauridsen@xxxxxxxxx <tim.lauridsen@xxxxxxxxx>:
> 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.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux