Ignore:
Timestamp:
Feb 21, 2006, 10: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
  • boot/common/changingowner.xml

    rf9b5055 r94397ff  
    2121  a user that exists only on the host system. For security reasons, the $LFS root directory and all of it subdirectories should be owned by <systemitem class="username">root</systemitem>. Change the ownership for $LFS and its subdirectories by running these commands:</para>
    2222
    23 <screen><userinput>chown 0:0 ${LFS}
    24 chown -R 0:0 $LFS/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}</userinput></screen>
     23<screen><userinput>chown root:root ${LFS}
     24chown -R root:root $LFS/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}</userinput></screen>
    2525
    2626  <para os="c">The same issue also exists with <filename class="directory">/tools</filename> and <filename class="directory">/cross-tools</filename>. Although these directories can be deleted once the
     
    3939  assign the contents of the <filename class="directory">/tools</filename>
    4040  and <filename class="directory">/cross-tools</filename> directories to user <systemitem class="username">root</systemitem> by running
    41   the following command:</para>
     41  the following commands:</para>
    4242
    43 <screen><userinput>chown -R 0:0 /tools
    44 chown -R 0:0 /cross-tools</userinput></screen>
     43<screen><userinput>chown -R root:root /tools
     44chown -R root:root /cross-tools</userinput></screen>
    4545
    46 <para os="e">This book assumes you ran these <command>chown</command> commands.</para>
    47 
    48 <!--  <para os="c">The command uses <parameter>0:0</parameter> instead of
    49   <parameter>root:root</parameter>, because <command>chown</command>
    50   is unable to resolve the name <quote>root</quote> until the password
    51   file has been created. This book assumes you ran this
    52   <command>chown</command> command.</para> -->
     46  <para os="e">This book assumes you ran these <command>chown</command> commands.</para>
    5347
    5448</sect1>
Note: See TracChangeset for help on using the changeset viewer.