lfs/chapter06/shadowpwd-exp.xml
Mark Hymers bccc28841f [Bug 140] Sed consistencies
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1020 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-08-24 20:45:42 +00:00

20 lines
760 B
XML

<sect2>
<title>Command explanations</title>
<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c
&gt; useradd.c.temp &amp;&amp;</userinput>: This sed is used to fix a
compilation bug which occurs due to a variable (nflg), being used but not
defined.</para>
<para><userinput>cp -f limits login.access and others:</userinput> These files
were not installed during the installation of the package so we copy
them manually as those files are used to configure authentication
details on the system.</para>
<para><userinput>sed "s%/var/spool/mail%/var/mail%" login.defs.linux &gt;
/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>
</sect2>