Переглянути джерело

[Bug 245] Added a symlink from vipw to vigr

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1510 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Marc Heerdink 23 роки тому
батько
коміт
b1bc8e0120
3 змінених файлів з 13 додано та 1 видалено
  1. 3 0
      chapter01/changelog.xml
  2. 5 0
      chapter06/shadowpwd-exp.xml
  3. 5 1
      chapter06/shadowpwd-inst.xml

+ 3 - 0
chapter01/changelog.xml

@@ -24,6 +24,9 @@
 
 <itemizedlist>
 
+<listitem><para>January 30th, 2002 [marcheerdink]: Chapters 6: Added a
+symlink from vipw to vigr after installing shadow.</para></listitem>
+
 <listitem><para>January 30th, 2002 [markh]: Chapters 5+6: Changed
 binutils and e2fsprogs installation instructions to use seperate
 directories ala gcc and glibc.</para></listitem>

+ 5 - 0
chapter06/shadowpwd-exp.xml

@@ -15,5 +15,10 @@ details on the system.</para>
 /etc/login.defs</userinput>: /var/spool/mail is the old location of the
 user mailboxes. The location that is used nowadays is /var/mail.</para>
 
+<para><userinput>ln -sf vipw vigr</userinput> and
+<userinput>ln -sf vipw.8 vigr.8</userinput>: According to the manpage of
+vipw, vigr should be a symlink to it. Because the shadow installation
+procedure doesn't create these symlinks, we create them manually.</para>
+
 </sect2>
 

+ 5 - 1
chapter06/shadowpwd-inst.xml

@@ -22,7 +22,11 @@ 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</userinput></screen></para>
+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>
 
 </sect2>