mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
b1bc8e0120
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1510 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
25 lines
1020 B
XML
25 lines
1020 B
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/'
|
|
src/useradd.c.backup > src/useradd.c &&</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 limits login.access /etc:</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 >
|
|
/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>
|
|
|