Changeset c1f1c70
- Timestamp:
- Feb 21, 2006, 2:17:51 AM (19 years ago)
- Children:
- 780c204
- Parents:
- 141a662
- Location:
- boot/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/changingowner.xml
r141a662 rc1f1c70 11 11 <title>Changing Ownership</title> 12 12 13 <note os="a"> 14 <para>From now on, all commands in the rest of the book will be run as the <systemitem class="username">root</systemitem> user.</para> 15 </note> 16 17 <para os="b">Currently, the <filename class="directory">/tools</filename> 13 <para os="a">Currently, the <filename class="directory">/tools</filename> 18 14 directory, <filename class="directory">/cross-tools</filename> directory, and 19 15 <filename class="directory">$LFS</filename> directory are owned 20 16 by the user <systemitem class="username">lfs</systemitem>, 21 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> 17 a user that exists only on the host system. For security reasons, the 18 $LFS root directory and all of it subdirectories should be owned by 19 <systemitem class="username">root</systemitem>. Change the ownership for $LFS and its subdirectories by running these commands:</para> 22 20 23 21 <screen><userinput>chown root:root ${LFS} 24 22 chown -R root:root $LFS/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}</userinput></screen> 25 23 26 <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 the24 <para os="b">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 27 25 LFS system has been finished, they can be retained to build additional 28 26 LFS systems. If the <filename class="directory">/tools</filename> and <filename class="directory">/cross-tools</filename> … … 33 31 thus exposing these files to possible malicious manipulation.</para> 34 32 35 <para os=" d">To avoid this issue, add the <systemitem33 <para os="c">To avoid this issue, add the <systemitem 36 34 class="username">lfs</systemitem> user to the new LFS system later when 37 35 creating the <filename>/etc/passwd</filename> file, taking care to assign -
boot/common/devices.xml
r141a662 rc1f1c70 18 18 <title>Creating Initial Device Nodes</title> 19 19 20 <para os="a">When the kernel boots the system, it requires the presence 20 <note os="a"> 21 <para>The commands in the remainder of the book should be run as 22 the<systemitem class="username">root</systemitem> user. Also, 23 double-check that $LFS is set as root.</para> 24 </note> 25 26 <para os="b">When the kernel boots the system, it requires the presence 21 27 of a few device nodes, in particular the <filename 22 28 class="devicefile">console</filename> and <filename
Note:
See TracChangeset
for help on using the changeset viewer.