On 2/26/19 10:10 PM, Xi Ruoyao via blfs-dev wrote:
On 2019-02-27 11:34 +0800, hykwok1--- via blfs-dev wrote:
1. AccountsService

It is better to create a file such as "40-adm.rules" in "/etc/polkit-
1/rules.d" with the following contents:

polkit.addAdminRule(function(action, subject) {
     return ["unix-group:adm"];
});

Then PolicyKit can recognize all users in the "adm" group as administrator.

I think this could be added into "Configuring Polkit" in Polkit-0.115.

Is this for both sysV and systemd or just systemd? We don't have AccountsService in sysV.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to