lfs/chapter06/shadowpwd-inst.xml

21 lines
643 B
XML
Raw Normal View History

<sect2>
<title>Installation of Shadow Password Suite</title>
<para>
Install the Shadow Password Suite by running the following commands:
</para>
<blockquote><literallayout>
<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>
</literallayout></blockquote>
</sect2>