Changeset 94397ff for chroot/common


Ignore:
Timestamp:
Feb 21, 2006, 2:05:54 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
3234791
Parents:
f9b5055
Message:

r1034@server (orig r1032): chris | 2006-01-09 22:37:46 -0800
Changed the 'changing ownership' pages for boot and chroot because the each need different instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chroot/common/changingowner.xml

    rf9b5055 r94397ff  
    1111  <title>Changing Ownership</title>
    1212
    13   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    14   href="../../boot/common/changingowner.xml"
    15   xpointer="xpointer(//*[@os='a'])"/>
     13    <para>Currently, the <filename class="directory">/tools</filename>
     14    and <filename class="directory">/cross-tools</filename> directories
     15    are owned by the user <emphasis>lfs</emphasis>, a user that
     16    exists only on the host system. Although the <filename
     17    class="directory">/tools</filename> and <filename
     18    class="directory">/cross-tools</filename> directories can be deleted
     19    once the LFS system has been finished, they can be retained to build
     20    additional LFS systems. If the <filename class="directory">/tools</filename>
     21    and <filename class="directory">/cross-tools</filename> directories are
     22    kept as is, the files are owned by a user ID without a corresponding
     23    account. This is dangerous because a user account created later could
     24    get this same user ID and would own the <filename
     25    lass="directory">/tools</filename> directory and all the files therein,
     26    thus exposing these files to possible malicious manipulation.</para>
    1627
    17   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    18   href="../../boot/common/changingowner.xml"
    19   xpointer="xpointer(//*[@os='b'])"/>
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../../boot/common/changingowner.xml"
     30    xpointer="xpointer(//*[@os='d'])"/>
    2031
    21 <screen><userinput>chown -R 0:0 /tools</userinput></screen>
     32    <screen><userinput>chown -R 0:0 /tools
     33    chown -R 0:0 /cross-tools</userinput></screen>
    2234
    23   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    24   href="../../boot/common/changingowner.xml"
    25   xpointer="xpointer(//*[@os='c'])"/>
     35    <para>The commands use <parameter>0:0</parameter> instead of
     36    <parameter>root:root</parameter>, because <command>chown</command>
     37    is unable to resolve the name <quote>root</quote> until the password
     38    file has been created. This book assumes you ran these
     39    <command>chown</command> commands.</para>
    2640
    2741</sect1>
Note: See TracChangeset for help on using the changeset viewer.