- Timestamp:
- Sep 15, 2006, 7:06:38 AM (18 years ago)
- Children:
- 6ec9929
- Parents:
- 142e52c5
- Location:
- boot/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/changingowner.xml
r142e52c5 r2484938 11 11 <title>Changing Ownership</title> 12 12 13 <para os="a">Currently, the <filename class="directory">$ CLFS</filename>13 <para os="a">Currently, the <filename class="directory">${CLFS}</filename> 14 14 directory and all of its subdirectories are owned by the user 15 15 <systemitem class="username">clfs</systemitem>, a user that exists only 16 on the host system. For security reasons, the $ CLFSroot directory and16 on the host system. For security reasons, the ${CLFS} root directory and 17 17 all of it subdirectories should be owned by 18 18 <systemitem class="username">root</systemitem>. Change the ownership 19 for $ CLFSand its subdirectories by running this command:</para>19 for ${CLFS} and its subdirectories by running this command:</para> 20 20 21 21 <screen os="b"><userinput>chown -Rv root:root ${CLFS}</userinput></screen> -
boot/common/devices.xml
r142e52c5 r2484938 21 21 <para>The commands in the remainder of the book should be run as 22 22 the <systemitem class="username">root</systemitem> user. Also, 23 double-check that $ CLFSis set as23 double-check that ${CLFS} is set as 24 24 <systemitem class="username">root</systemitem>.</para> 25 25 </note> -
boot/common/introduction.xml
r142e52c5 r2484938 17 17 <para>There are a few additional packages that will need to be 18 18 installed to allow you to boot the minimal system. Some of these 19 packages will be installed onto theroot or in /usr on the CLFS20 partition ($ CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the19 packages will be installed onto root or in /usr on the CLFS 20 partition (${CLFS}/bin, ${CLFS}/usr/bin, etc...), rather than /tools, using the 21 21 "DESTDIR" option with make. This will require the 22 22 <systemitem class="username">clfs</systemitem> user to have write access to 23 the rest of the $CLFS partition, so you will need to temporarily change the24 ownership of $ CLFSto the <systemitem class="username">clfs</systemitem> user.23 the rest of the CLFS partition, so you will need to temporarily change the 24 ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user. 25 25 Run the following command as <systemitem 26 26 class="username">root</systemitem>:</para> 27 27 28 <screen><userinput>chown -v clfs $ CLFS</userinput></screen>28 <screen><userinput>chown -v clfs ${CLFS}</userinput></screen> 29 29 30 30 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.