Add a warning when updating shadow.

The shadow installation procedure overwrites many files in /etc/pam.d/
which will render system login and su commands (among others) inoperative.

This update adds a warning at the beginning of the build instructions
so it will be hard to miss.
This commit is contained in:
Bruce Dubbs 2023-11-02 19:39:56 -05:00
parent bac7c05d12
commit e3f6e6a5f9

View File

@ -122,6 +122,15 @@
<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
</important>
<warning>
<para>
If reinstalling shadow for a version update, be sure to
reaccomplish the Linux-PAM configuration below. The installation
of shadow overwrites many of the files in
<filename class="directory">/etc/pam.d/</filename>.
</para>
</warning>
<para>
Reinstall <application>Shadow</application> by running the following
commands: