Changeset c1f1c70 for boot/common/changingowner.xml
- Timestamp:
- Feb 21, 2006, 10:17:51 AM (19 years ago)
- Children:
- 780c204
- Parents:
- 141a662
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.