mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
libpwquality: adapt to merged-/usr changes
This commit is contained in:
parent
d0d2c85aef
commit
e92e7dc4c2
@ -44,6 +44,9 @@
|
||||
<listitem>
|
||||
<para>June 3rd, 2021</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[renodr] - Adapt libpwquality to merged-/usr changes.</para>
|
||||
</listitem>
|
||||
<listitem revision="systemd">
|
||||
<para>[renodr] - Adapt the timer/unit creation for pciutils, usbutils,
|
||||
and logrotate to the merged-/usr changes.</para>
|
||||
|
@ -101,10 +101,10 @@
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-securedir=/lib/security \
|
||||
--with-python-binary=python3 &&
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-securedir=/usr/lib/security \
|
||||
--with-python-binary=python3 &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -115,10 +115,7 @@ make</userinput></screen>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
|
||||
mv -v /usr/lib/libpwquality.so.* /lib &&
|
||||
ln -sfv ../../lib/$(readlink /usr/lib/libpwquality.so) /usr/lib/libpwquality.so</userinput></screen>
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -168,7 +165,7 @@ password required pam_pwquality.so authtok_type=UNIX retry=1 difok=1 \
|
||||
maxclassrepeat=0 geoscheck=0 \
|
||||
dictcheck=1 usercheck=1 \
|
||||
enforcing=1 badwords="" \
|
||||
dictpath=/lib/cracklib/pw_dict
|
||||
dictpath=/usr/lib/cracklib/pw_dict
|
||||
# use sha512 hash for encryption, use shadow, and use the
|
||||
# authentication token (chosen password) set by pam_pwquality
|
||||
# above (or any previous modules)
|
||||
|
Loading…
Reference in New Issue
Block a user