On 2019-02-26 22:51, Bruce Dubbs via blfs-dev wrote:
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
It's just for systemd I believe. I *think* that having it in sysvinit
would be useful for when DJ merges the Elogind branch, and also for
consistency purposes.
I don't recall if sysV has the adm group though, and it's far too late
for me to want to check at the moment.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page