Changeset 6bfe833 for BOOK/chroot


Ignore:
Timestamp:
Feb 22, 2006, 11:24:55 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
6c4e93e
Parents:
393afdb
Message:

r2395@server (orig r1196): chris | 2006-02-22 23:11:39 -0800
Simplified the Changing Ownership page for boot method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/changingowner.xml

    r393afdb r6bfe833  
    1111  <title>Changing Ownership</title>
    1212
    13     <para>Currently, the <filename class="directory">/tools</filename>
     13    <para os="a">Currently, the <filename class="directory">/tools</filename>
    1414    and <filename class="directory">/cross-tools</filename> directories
    1515    are owned by the user <emphasis>lfs</emphasis>, a user that
     
    2626    thus exposing these files to possible malicious manipulation.</para>
    2727
    28     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    29     href="../../boot/common/changingowner.xml"
    30     xpointer="xpointer(//*[@os='c'])"/>
     28    <para os="b">To avoid this issue, add the <systemitem
     29    class="username">lfs</systemitem> user to the new LFS system later when
     30    creating the <filename>/etc/passwd</filename> file, taking care to assign
     31    it the same user and group IDs as on the host system. Alternatively,
     32    assign the contents of the <filename class="directory">/tools</filename>
     33    and <filename class="directory">/cross-tools</filename> directories to
     34    user <systemitem class="username">root</systemitem> by running the
     35    following commands:</para>
    3136
    32 <screen><userinput>chown -Rv 0:0 /tools
     37<screen os="c"><userinput>chown -Rv 0:0 /tools
    3338chown -Rv 0:0 /cross-tools</userinput></screen>
    3439
    35     <para>The commands use <parameter>0:0</parameter> instead of
     40    <para os="d">The commands use <parameter>0:0</parameter> instead of
    3641    <parameter>root:root</parameter>, because <command>chown</command>
    3742    is unable to resolve the name <quote>root</quote> until the
Note: See TracChangeset for help on using the changeset viewer.