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 |
|
---|
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">
|
---|
9 | <!ENTITY libcap-md5sum "6666b839e5d46c2ad33fc8aa2ceb5f77">
|
---|
10 | <!ENTITY libcap-size "64 KB">
|
---|
11 | <!ENTITY libcap-buildsize "1.7 MB">
|
---|
12 | <!ENTITY libcap-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libcap-pam" xreflabel="libcap-&libcap-version; with PAM">
|
---|
16 | <?dbhtml filename="libcap.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libcap-&libcap-version; with PAM</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libcap-pam">
|
---|
26 | <primary sortas="a-libcap-pam">libcap</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libcap with PAM</title>
|
---|
31 |
|
---|
32 | <para>The <application>libcap</application> package was installed in
|
---|
33 | LFS, but if <application>Linux-PAM</application> support is desired,
|
---|
34 | the PAM module must be built (after installation of
|
---|
35 | <application>Linux-PAM</application>).</para>
|
---|
36 |
|
---|
37 | &lfs79_checked;&gcc6_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&libcap-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&libcap-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &libcap-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &libcap-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &libcap-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &libcap-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">libcap Dependencies</bridgehead>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
64 | <para role="required">
|
---|
65 | <xref linkend="linux-pam"/>
|
---|
66 | </para>
|
---|
67 |
|
---|
68 | <para condition="html" role="usernotes">User Notes:
|
---|
69 | <ulink url="&blfs-wiki;/libcap"/></para>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="installation">
|
---|
74 | <title>Installation of libcap</title>
|
---|
75 |
|
---|
76 | <para>Install <application>libcap</application> by running the following
|
---|
77 | commands:</para>
|
---|
78 |
|
---|
79 | <screen><userinput>make -C pam_cap</userinput></screen>
|
---|
80 |
|
---|
81 | <para>This package does not come with a test suite.</para>
|
---|
82 |
|
---|
83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
84 |
|
---|
85 | <screen role="root"><userinput>install -v -m755 pam_cap/pam_cap.so /lib/security &&
|
---|
86 | install -v -m644 pam_cap/capability.conf /etc/security</userinput></screen>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="content">
|
---|
91 | <title>Contents</title>
|
---|
92 |
|
---|
93 | <segmentedlist>
|
---|
94 | <segtitle>Installed Programs</segtitle>
|
---|
95 | <segtitle>Installed Library</segtitle>
|
---|
96 | <segtitle>Installed Directories</segtitle>
|
---|
97 |
|
---|
98 | <seglistitem>
|
---|
99 | <seg>None</seg>
|
---|
100 | <seg>pam_cap.so</seg>
|
---|
101 | <seg>None</seg>
|
---|
102 | </seglistitem>
|
---|
103 | </segmentedlist>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | </sect1>
|
---|