source: postlfs/security/libpwquality.xml@ eecc046

10.0 10.1 11.0 11.1 9.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since eecc046 was eecc046, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Update to gvfs-1.42.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22445 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.9 KB
Line 
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 libpwquality-download-http "https://github.com/libpwquality/libpwquality/releases/download/libpwquality-&libpwquality-version;/libpwquality-&libpwquality-version;.tar.bz2">
8 <!ENTITY libpwquality-download-ftp " ">
9 <!ENTITY libpwquality-md5sum "ae6e61fc33f5dac0de5e847eb7520d71">
10 <!ENTITY libpwquality-size "416 KB">
11 <!ENTITY libpwquality-buildsize "4.1 MB">
12 <!ENTITY libpwquality-time "less than 0.1 SBU">
13]>
14
15<sect1 id="libpwquality" xreflabel="libpwquality-&libpwquality-version;">
16 <?dbhtml filename="libpwquality.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy: fernando $</othername>
20 <date>$Date: 2015-09-25 08:48:24 -0500 (Fri, 25 Sep 2015) $</date>
21 </sect1info>
22
23 <title>libpwquality-&libpwquality-version;</title>
24
25 <indexterm zone="libpwquality">
26 <primary sortas="a-libpwquality">libpwquality</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libpwquality</title>
31
32 <para>
33 The <application>libpwquality</application> package provides common
34 functions for password quality checking and also scoring them based on
35 their apparent randomness. The library also provides a function for
36 generating random passwords with good pronounceability.
37 </para>
38
39 &lfs90_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libpwquality-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libpwquality-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libpwquality-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libpwquality-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libpwquality-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libpwquality-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">libpwquality Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="cracklib"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="linux-pam"/>
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="python2"/>
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/libpwquality"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of libpwquality</title>
99
100 <para>
101 Install <application>libpwquality</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>./configure --prefix=/usr \
106 --disable-static \
107 --with-securedir=/lib/security \
108 --with-python-binary=python3 &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <parameter>--with-python-binary=python3</parameter>: This parameter gives
128 the location of the <application>Python</application> binary. The default
129 is <parameter>python</parameter>, and requires <xref linkend="python2"/>.
130 </para>
131 </sect2>
132
133 <sect2 role="configuration">
134 <title>Configuring libpwquality</title>
135
136 <para>
137 <application>libpwquality</application> is intended to be a
138 functional replacement for the <filename>pam_cracklib.so</filename>
139 module with additional options. To replace the
140 <filename>pam_cracklib.so</filename> module with the
141 <filename>pam_pwquality.so</filename> module, execute the following
142 commands as the <systemitem class="username">root</systemitem> user:
143 </para>
144
145<screen role="root"><userinput>mv /etc/pam.d/system-password{,.orig} &amp;&amp;
146cat &gt; /etc/pam.d/system-password &lt;&lt; "EOF"
147<literal># Begin /etc/pam.d/system-password
148
149# check new passwords for strength (man pam_pwquality)
150password required pam_pwquality.so authtok_type=UNIX retry=1 difok=1 \
151 minlen=8 dcredit=0 ucredit=0 \
152 lcredit=0 ocredit=0 minclass=1 \
153 maxrepeat=0 maxsequence=0 \
154 maxclassrepeat=0 geoscheck=0 \
155 dictcheck=1 usercheck=1 \
156 enforcing=1 badwords="" \
157 dictpath=/lib/cracklib/pw_dict
158# use sha512 hash for encryption, use shadow, and use the
159# authentication token (chosen password) set by pam_pwquality
160# above (or any previous modules)
161password required pam_unix.so sha512 shadow use_authtok
162
163# End /etc/pam.d/system-password</literal>
164EOF
165</userinput></screen>
166
167 </sect2>
168
169 <sect2 role="content">
170 <title>Contents</title>
171
172 <segmentedlist>
173 <segtitle>Installed Programs</segtitle>
174 <segtitle>Installed Libraries</segtitle>
175 <segtitle>Installed Directories</segtitle>
176
177 <seglistitem>
178 <seg>
179 pwscore and pwmake
180 </seg>
181 <seg>
182 pam_pwquality.so and libpwquality.so
183 </seg>
184 <seg>
185 None
186 <!-- /etc/security was installed by Linux-PAM -->
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="pwmake">
197 <term><command>pwmake</command></term>
198 <listitem>
199 <para>
200 is a simple configurable tool for generating random
201 and relatively easily pronounceable passwords.
202 </para>
203 <indexterm zone="libpwquality pwmake">
204 <primary sortas="b-pwmake">pwmake</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="pwscore">
210 <term><command>pwscore</command></term>
211 <listitem>
212 <para>
213 is a simple tool for checking quality of a password.
214 </para>
215 <indexterm zone="libpwquality pwscore">
216 <primary sortas="b-pwscore">pwscore</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="libpwquality-lib">
222 <term><filename class="libraryfile">libpwquality.so</filename></term>
223 <listitem>
224 <para>
225 contains API functions for checking the password quality.
226 </para>
227 <indexterm zone="libpwquality libpwquality-lib">
228 <primary sortas="c-libpwquality">libpwquality.so</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="pam_pwquality">
234 <term><filename class="libraryfile">pam_pwquality.so</filename></term>
235 <listitem>
236 <para>
237 is a <application>Linux PAM</application> module used to perform
238 password quality checking.
239 </para>
240 <indexterm zone="libpwquality pam_pwquality">
241 <primary sortas="c-pam_pwquality">pam_pwquality.so</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.