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.

> 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".

I confirm strip --strip-unneeded will damage .dbg file (since they are ELF) and
make them unusable.
-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

-- 
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