lfs/chapter06/shadowpwd-inst.xml

19 lines
776 B
XML
Raw Normal View History

<sect2>
<title>Installation of Shadow Password Suite</title>
<para>Before the shadow Password Suite can be installed, the patch file
must be unpacked. This patch fixes a compliation problem due to a
variable being used but not defined. Install the Shadow Password
Suite by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../shadow-20001016.patch &amp;&amp;</userinput>
<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd etc &amp;&amp;</userinput>
<userinput>cp limits login.access /etc &amp;&amp;</userinput>
<userinput>sed "s|/var/spool/mail|/var/mail|" login.defs.linux &gt; /etc/login.defs</userinput></screen></para>
</sect2>