[e79ed72] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c542fdec] | 7 | <!ENTITY libcap-download-http "https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
|
---|
| 8 | <!ENTITY libcap-download-ftp "ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
|
---|
[bf75b22] | 9 | <!ENTITY libcap-md5sum "d43ab9f680435a7fff35b4ace8d45b80">
|
---|
| 10 | <!ENTITY libcap-size "62 KB">
|
---|
[c542fdec] | 11 | <!ENTITY libcap-buildsize "1.5 MB">
|
---|
| 12 | <!ENTITY libcap-time "0.1 SBU">
|
---|
[e79ed72] | 13 | ]>
|
---|
| 14 |
|
---|
[56605b9] | 15 | <sect1 id="libcap-pam" xreflabel="libcap-&libcap-version; with PAM">
|
---|
[68876b7] | 16 | <?dbhtml filename="libcap.html"?>
|
---|
[e79ed72] | 17 |
|
---|
| 18 | <sect1info>
|
---|
[4949485e] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[e79ed72] | 21 | </sect1info>
|
---|
| 22 |
|
---|
[56605b9] | 23 | <title>libcap-&libcap-version; with PAM</title>
|
---|
[e79ed72] | 24 |
|
---|
[56605b9] | 25 | <indexterm zone="libcap-pam">
|
---|
| 26 | <primary sortas="a-libcap-pam">libcap</primary>
|
---|
[e79ed72] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[56605b9] | 30 | <title>Introduction to libcap with PAM</title>
|
---|
[e79ed72] | 31 |
|
---|
[56605b9] | 32 | <para>The <application>libcap</application> package was installed in
|
---|
| 33 | LFS, but if PAM support is desired, it needs to be reinstalled after
|
---|
[8e45943] | 34 | PAM is built so the shipped PAM module can be installed.</para>
|
---|
| 35 |
|
---|
| 36 | &lfs76_checked;
|
---|
[e79ed72] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[68876b7] | 41 | <para>Download (HTTP): <ulink url="&libcap-download-http;"/></para>
|
---|
[e79ed72] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[68876b7] | 44 | <para>Download (FTP): <ulink url="&libcap-download-ftp;"/></para>
|
---|
[e79ed72] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[68876b7] | 47 | <para>Download MD5 sum: &libcap-md5sum;</para>
|
---|
[e79ed72] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[68876b7] | 50 | <para>Download size: &libcap-size;</para>
|
---|
[e79ed72] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[68876b7] | 53 | <para>Estimated disk space required: &libcap-buildsize;</para>
|
---|
[e79ed72] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[68876b7] | 56 | <para>Estimated build time: &libcap-time;</para>
|
---|
[e79ed72] | 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[68876b7] | 60 | <bridgehead renderas="sect3">libcap Dependencies</bridgehead>
|
---|
[e79ed72] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[8e45943] | 63 | <para role="required">
|
---|
| 64 | <xref linkend="linux-pam"/>
|
---|
| 65 | </para>
|
---|
[03f32bb] | 66 |
|
---|
[e79ed72] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
[68876b7] | 68 | <ulink url="&blfs-wiki;/libcap"/></para>
|
---|
[e79ed72] | 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
[68876b7] | 73 | <title>Installation of libcap</title>
|
---|
[e79ed72] | 74 |
|
---|
[68876b7] | 75 | <para>Install <application>libcap</application> by running the following
|
---|
[e79ed72] | 76 | commands:</para>
|
---|
| 77 |
|
---|
[8e45943] | 78 | <screen><userinput>make -C pam_cap</userinput></screen>
|
---|
[e79ed72] | 79 |
|
---|
| 80 | <para>This package does not come with a test suite.</para>
|
---|
[5ec4f2b4] | 81 |
|
---|
[e79ed72] | 82 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 83 |
|
---|
[8e45943] | 84 | <screen role="root"><userinput>install -v -m755 pam_cap/pam_cap.so /lib/security/pam_cap.so &&
|
---|
| 85 | install -v -m644 pam_cap/capability.conf /etc/security</userinput></screen>
|
---|
[7df66ff] | 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
[e79ed72] | 89 | <sect2 role="content">
|
---|
| 90 | <title>Contents</title>
|
---|
| 91 |
|
---|
| 92 | <segmentedlist>
|
---|
| 93 | <segtitle>Installed Programs</segtitle>
|
---|
| 94 | <segtitle>Installed Library</segtitle>
|
---|
| 95 | <segtitle>Installed Directories</segtitle>
|
---|
| 96 |
|
---|
| 97 | <seglistitem>
|
---|
[8e45943] | 98 | <seg>None</seg>
|
---|
| 99 | <seg>pam_cap.so</seg>
|
---|
[e79ed72] | 100 | <seg>None</seg>
|
---|
| 101 | </seglistitem>
|
---|
| 102 | </segmentedlist>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | </sect1>
|
---|