shadowpwd-exp.xml 1020 B

123456789101112131415161718192021222324
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/'
  4. src/useradd.c.backup &gt; src/useradd.c &amp;&amp;</userinput>:
  5. This sed is used to fix a compilation bug which occurs due to a
  6. variable (nflg) being used but not defined.</para>
  7. <para><userinput>cp limits login.access /etc:</userinput> These files
  8. were not installed during the installation of the package so we copy
  9. them manually as those files are used to configure authentication
  10. details on the system.</para>
  11. <para><userinput>sed "s%/var/spool/mail%/var/mail%" login.defs.linux &gt;
  12. /etc/login.defs</userinput>: /var/spool/mail is the old location of the
  13. user mailboxes. The location that is used nowadays is /var/mail.</para>
  14. <para><userinput>ln -sf vipw vigr</userinput> and
  15. <userinput>ln -sf vipw.8 vigr.8</userinput>: According to the manpage of
  16. vipw, vigr should be a symlink to it. Because the shadow installation
  17. procedure doesn't create these symlinks, we create them manually.</para>
  18. </sect2>