The libcap package was installed in LFS, but if PAM support is desired, it needs to be reinstalled after PAM is built so the shipped PAM module can be installed.
This package is known to build and work properly using an LFS-7.6 systemd platform.
Download (HTTP): https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.24.tar.xz
Download (FTP): ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.24.tar.xz
Download MD5 sum: d43ab9f680435a7fff35b4ace8d45b80
Download size: 62 KB
Estimated disk space required: 1.5 MB
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libcap
Install libcap by running the following commands:
make -C pam_cap
This package does not come with a test suite.
Now, as the root
user:
install -v -m755 pam_cap/pam_cap.so /lib/security/pam_cap.so && install -v -m644 pam_cap/capability.conf /etc/security
Last updated on 2014-08-25 13:50:07 -0700