aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadowpwd-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-09 02:52:58 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-09 02:52:58 +0000
commitd7abb6865b4f4e08be3b17582ef64eb8dae1d379 (patch)
tree98f162621f5f1b320f47555e53b9ebbb5758bdd7 /chapter06/shadowpwd-inst.xml
parenta3b46b9a469287a79b930e491c7145374dd70da9 (diff)
Updated to the following
packages: autoconf-2.53, automake-1.6, bin86-0.16.2, bison-1.33, bzip2-1.0.2, e2fsprogs-1.27, gawk-3.1.0, gettext-0.11, less-374, lilo-22.2, linux-2.4.18, man-pages-1.48, modutils-2.4.14, reiserfsprogs-3.x.1b, shadow-4.0.2, texinfo-4.1, util-linux-2.11o git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1682 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r--chapter06/shadowpwd-inst.xml14
1 files changed, 2 insertions, 12 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index d89b56931..7af472138 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -9,24 +9,14 @@ passwords and how to get the most out of this Shadow package.</para>
<para>Install the Shadow Password Suite by running the
following commands:</para>
-<para><screen><userinput>cp src/useradd.c src/useradd.c.backup &amp;&amp;
-sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \
-&nbsp;&nbsp;&nbsp;src/useradd.c.backup &gt; src/useradd.c &amp;&amp;
-./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
cd etc &amp;&amp;
cp limits login.access /etc &amp;&amp;
sed 's%/var/spool/mail%/var/mail%' login.defs.linux &gt; /etc/login.defs &amp;&amp;
-cd /lib &amp;&amp;
-mv libshadow.*a /usr/lib &amp;&amp;
-ln -sf libshadow.so.0 libshadow.so &amp;&amp;
-cd /usr/lib &amp;&amp;
-ln -sf ../../lib/libshadow.so &amp;&amp;
cd /usr/sbin &amp;&amp;
-ln -sf vipw vigr &amp;&amp;
-cd /usr/share/man/man8 &amp;&amp;
-ln -sf vipw.8 vigr.8</userinput></screen></para>
+ln -sf vipw vigr</userinput></screen></para>
</sect2>