libcap-2.26 with PAM

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 4. Security

- Prev

  Setting Up a Network Firewall

- Next

  Linux-PAM-1.3.0

- Up
- Home

# libcap-2.26 with PAM

## Introduction to libcap with PAM

The libcap package was installed in LFS, but if Linux-PAM support is desired, the PAM module must be built (after installation of Linux-PAM).

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.26.tar.xz

- Download MD5 sum: 968ac4d42a1a71754313527be2ab5df3

- Download size: 68 KB

- Estimated disk space required: 616 KB

- Estimated build time: less than 0.1 SBU

### libcap Dependencies

#### Required

Linux-PAM-1.3.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libcap

## Installation of 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 &&
    install -v -m644 pam_cap/capability.conf /etc/security

## Contents

Installed Programs: None
Installed Library: pam_cap.so
Installed Directories: None

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  Setting Up a Network Firewall

- Next

  Linux-PAM-1.3.0

- Up
- Home