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.

Reference: 
https://www.linux.org/docs/man8/polkit.html
https://www.freeipa.org/page/Howto/FreeIPA_PolicyKit

2. Notes on Building Software 

In the section "Stripping One More Time", it is better to change the command to:

find /{,usr/}{bin,lib,sbin} -type f -not -name "*.dbg" -exec strip 
--strip-unneeded {} \;

That's because we want to keep the debug information that is saved in the LFS 
chapter 6.78 " Stripping Again".
-- 
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