Changeset a2cd10f for chapter06


Ignore:
Timestamp:
06/03/2002 11:27:19 AM (22 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
19c068f
Parents:
f50aec7
Message:

applied Alex's commas.patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1960 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • chapter06/changingowner.xml

    rf50aec7 ra2cd10f  
    11<sect1 id="ch06-changingowner">
    2 <title>Changing ownership of the LFS partition</title>
     2<title>Changing ownership</title>
    33<?dbhtml filename="changingowner.html" dir="chapter06"?>
    44
    5 <para>Now we're in chroot, it is a good time to change the ownership of
    6 all files and directories that were installed in chapter 5 back to root.
    7 Run the following commands to do so:</para>
     5<para>Now we're in chroot, it is time to change the ownership of
     6the files and directories that were installed in chapter 5 to root.
     7Run the following command to do so:</para>
    88
    99<para><screen><userinput>chown -R 0:0 /</userinput></screen></para>
    1010
    11 <para>This command will change the ownership of the root partition to
    12 root. 0:0 is used instead of the usual root:root, because the username
    13 root can't be resolved because glibc is not yet installed.</para>
     11<para>This command changes the ownership of the root partition to
     12root. The command uses 0:0 instead of root:root, because the user name
     13"root" can't be resolved, as glibc is not installed yet.</para>
    1414
    1515</sect1>
  • chapter06/chroot.xml

    rf50aec7 ra2cd10f  
    1212this point on there's no need to use the $LFS variable anymore, because
    1313everything a user does will be restricted to the LFS partition (since / is
    14 actually /mnt/lfs but the shell doesn't know that).</para>
     14actually /mnt/lfs, but the shell doesn't know that).</para>
    1515
    1616<para><screen>&c6-chrootcmd;</screen></para>
  • chapter06/config-shadowpwd.xml

    rf50aec7 ra2cd10f  
    11<sect2><title>Configuring Shadow Password Suite</title>
    22
    3 <para>This package contains the utilities to modify user's passwords, add new
    4 users/groups, delete users/groups and more. We're not going to explain
    5 what 'password shadowing' means. All about that can be read in the doc/HOWTO
     3<para>This package contains utilities to modify users's passwords, add
     4or delete users and groups, and the like. We're not going to explain
     5what 'password shadowing' means. A full explanation can be found in the doc/HOWTO
    66file within the unpacked shadow password suite's source tree. There's one
    7 thing you should keep in mind, if you decide to use shadow support, that
    8 programs that need to verify passwords (examples are xdm, ftp daemons,
    9 pop3 daemons, etc) need to be 'shadow-compliant', e.g. they need to
     7thing to keep in mind if you decide to use shadow support: that
     8programs that need to verify passwords (for example xdm, ftp daemons,
     9pop3 daemons) need to be 'shadow-compliant', that is they need to
    1010be able to work with shadow'ed passwords.</para>
    1111
  • chapter06/config-vim.xml

    rf50aec7 ra2cd10f  
    11<sect2><title>Configuring Vim</title>
    22
    3 <para>By default Vim runs in vi compatible mode. Some people might like this,
     3<para>By default vim runs in vi compatible mode. Some people might like this,
    44but we have a high preference to run vim in vim mode (else we wouldn't
    5 have included Vim in this book but the original Vi). Create the
     5have included vim in this book, but the original vi). Create the
    66<filename>/root/.vimrc</filename> by running the following:</para>
    77
  • chapter06/creatingdirs.xml

    rf50aec7 ra2cd10f  
    2727desired for all directories. The first change is a mode 0750 for the
    2828/root directory. This is to make sure that not just everybody can
    29 enter the /root directory (the same a user would do with /home/username
    30 directories). The second change is a mode 1777 for the tmp
    31 directories. This way, any user can write data to the /tmp or /var/tmp
    32 directory but cannot remove another user's files (the latter is caused
    33 by the so-called "sticky bit" - bit 1 of the 1777 bit mask).</para>
     29enter the /root directory (the same a user would do with his /home/username
     30directory). The second change is a mode 1777 for the tmp
     31directories. In this way any user can write to the /tmp and /var/tmp
     32directories, but cannot remove other users's files from them (the latter is prohibited
     33by the so-called "sticky bit" -- bit 1 in the 1777 bit mask).</para>
    3434
    3535<para><screen><userinput>chmod 0750 /root &amp;&amp;
  • chapter06/glibc-exp.xml

    rf50aec7 ra2cd10f  
    3737start a new bash shell which will replace the current shell. This is
    3838done to get rid of the "I have no name!" message in the command
    39 prompt, which was caused by bash's inability to resolve a userid to
    40 a username (which in turn was caused by the missing Glibc
    41 installation).</para>
     39prompt, which was caused by bash's inability to resolve a user ID to
     40a user name (which in turn was caused by the absence of Glibc).</para>
    4241
    4342</sect2>
  • chapter06/kernel-exp-headers.xml

    rf50aec7 ra2cd10f  
    22<title>Why we copy the kernel headers and don't symlink them</title>
    33
    4 <para>In the past, it was common practice for people to symlink the
     4<para>In the past it was common practice for people to symlink the
    55/usr/include/linux and asm directories to /usr/src/linux/include/linux
    66and asm respectively.  This is a <emphasis>bad</emphasis> idea as
  • chapter06/makedev-exp.xml

    rf50aec7 ra2cd10f  
    22<title>Command explanations</title>
    33
    4 <para><userinput>./MAKEDEV -v generic:</userinput> This creates generic
    5 devices. Normally, these devices are all the devices you need. It's possible
     4<para><userinput>./MAKEDEV -v generic:</userinput> This creates a whole
     5bunch of generic devices. Normally, these are all the devices you need. It's possible
    66that you are missing some special devices that are needed for your hardware
    77configuration. Create them with ./MAKEDEV -v &lt;device&gt;. 
    8 The <userinput>generic-nopty</userinput> option does a similar job but skips
     8The <userinput>generic-nopty</userinput> option does a similar job, but skips
    99some devices which are not needed if you are using devpts.</para>
    1010
  • chapter06/makedev-inst.xml

    rf50aec7 ra2cd10f  
    2727set of devices which you don't require.</para>
    2828
    29 <para>MAKEDEV will create hda[1-20] to hdh[1-20] and such but keep in mind
    30 that you may not be able to use all of those devices due to kernel
    31 limitations regarding the max. number of partitions.</para>
     29<para>MAKEDEV will create hda[1-20] to hdh[1-20] and such, but keep in mind
     30that you may not be able to use all of these devices due to kernel
     31limits on the maximum number of partitions.</para>
    3232
    3333</sect2>
  • chapter06/nettools-inst.xml

    rf50aec7 ra2cd10f  
    2222with the most common protocols such as TCP, PPP and a bunch of others. You
    2323still need to actually enable these protocols in the kernel. What you do
    24 here is merely telling the programs to be able to use those protocols but
    25 it's up to the kernel to make it available to the system.</para>
     24here is merely telling the programs to be able to use those protocols, but
     25it's up to the kernel to make them available to the system.</para>
    2626
    2727</sect2>
  • chapter06/psmisc-inst.xml

    rf50aec7 ra2cd10f  
    1010<para>Psmisc installs the
    1111<filename>/usr/share/man/man1/pidof.1</filename> man page, but Psmisc's
    12 pidof program isn't installed by default. Generally that isn't a problem
    13 because we install the sysvinit package later on which provides us with
     12pidof program isn't installed by default. Generally this isn't a problem,
     13because we install the Sysvinit package later on which provides
    1414a better pidof program.</para>
    1515
    16 <para>It's up to you now to decide if you are going to use the sysvinit
     16<para>It's up to you now to decide if you are going to use the Sysvinit
    1717package which provides a pidof program, or not. If you are going to, you
    1818should remove Psmisc's pidof man page by running:</para>
     
    2020<para><screen><userinput>rm /usr/share/man/man1/pidof.1</userinput></screen></para>
    2121
    22 <para>If you're not going to use sysvinit, you should complete this
     22<para>If you're not going to use Sysvinit, you should complete this
    2323package's installation by creating the <filename>/bin/pidof</filename>
    2424symlink by running:</para>
Note: See TracChangeset for help on using the changeset viewer.