changingowner.xml 850 B

123456789101112131415161718192021
  1. <sect1 id="ch06-changingowner">
  2. <title>Changing ownership</title>
  3. <?dbhtml filename="changingowner.html" dir="chapter06"?>
  4. <para>The first thing we'll do, now that we're <emphasis>root</emphasis>,
  5. is change the ownership of the files and directories installed in Chapter 5
  6. to root -- because when later we don't delete the
  7. <filename class="directory">/static</filename> directory and start adding
  8. new users, one of these users might end up owning the statically linked
  9. programs, which is not a good idea.</para>
  10. <para>Run the following command to make root the owner of all the statically
  11. linked programs:</para>
  12. <para><screen><userinput>chown -R 0:0 /static</userinput></screen></para>
  13. <para>The command uses "0:0" instead of "root:root", because there is no way
  14. to resolve the name "root", as glibc hasn't been installed yet.</para>
  15. </sect1>