mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
shadow: Remove reference to cracklib
The cracklib integration has been removed by upstream since shadow-4.15.0.
This commit is contained in:
parent
ac024e87c3
commit
505b6b1581
@ -44,18 +44,20 @@
|
|||||||
<important>
|
<important>
|
||||||
<para>
|
<para>
|
||||||
If you've installed Linux-PAM, you should follow
|
If you've installed Linux-PAM, you should follow
|
||||||
<ulink url='&blfs-book;postlfs/shadow.xml'>the BLFS shadow
|
<ulink url='&blfs-book;postlfs/shadow.html'>the BLFS
|
||||||
page</ulink> instead of this page to build (or, rebuild or upgrade)
|
instruction</ulink> instead of this page to build (or, rebuild or
|
||||||
shadow.
|
upgrade) shadow.
|
||||||
</para>
|
</para>
|
||||||
</important>
|
</important>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>If you would like to enforce the use of strong passwords, refer to
|
<para>If you would like to enforce the use of strong passwords,
|
||||||
<ulink url="&blfs-book;postlfs/cracklib.html"/> for installing
|
<ulink url='&blfs-book;postlfs/linux-pam.html'>install and configure
|
||||||
CrackLib prior to building Shadow. Then add
|
Linux-PAM</ulink> first. Then
|
||||||
<parameter>--with-libcrack</parameter> to the <command>configure</command>
|
<ulink url='&blfs-book;postlfs/shadow.html'>install and configure
|
||||||
command below.</para>
|
shadow with the PAM support</ulink>. Finally
|
||||||
|
<ulink url='&blfs-book;postlfs/libpwquality.html'>install
|
||||||
|
libpwquality and configure PAM to use it</ulink>.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>Disable the installation of the <command>groups</command> program
|
<para>Disable the installation of the <command>groups</command> program
|
||||||
@ -94,11 +96,6 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
|
|||||||
-e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \
|
-e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \
|
||||||
-i etc/login.defs</userinput></screen>
|
-i etc/login.defs</userinput></screen>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>If you chose to build Shadow with Cracklib support, issue this command:</para>
|
|
||||||
|
|
||||||
<screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen>
|
|
||||||
</note>
|
|
||||||
<!--
|
<!--
|
||||||
<para>Make a minor change to make the first group number generated
|
<para>Make a minor change to make the first group number generated
|
||||||
by useradd 1000:</para>
|
by useradd 1000:</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user