diff options
Diffstat (limited to 'chapter06/changingowner.xml')
-rw-r--r-- | chapter06/changingowner.xml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/chapter06/changingowner.xml b/chapter06/changingowner.xml index f0bdee09e..b909b5207 100644 --- a/chapter06/changingowner.xml +++ b/chapter06/changingowner.xml @@ -2,15 +2,20 @@ <title>Changing ownership</title> <?dbhtml filename="changingowner.html" dir="chapter06"?> -<para>Now we're in chroot, it is time to change the ownership of -the files and directories that were installed in chapter 5 to root. -Run the following command to do so:</para> +<para>The first thing we'll do, now that we're <emphasis>root</emphasis>, +is change the ownership of the files and directories installed in chapter 5 +to root -- because when later we don't delete the +<filename class="directory">/static</filename> directory and start adding +new users, one of these users might end up owning the statically linked +programs, which is not a good idea.</para> -<para><screen><userinput>chown -R 0:0 /</userinput></screen></para> +<para>Run the following command to make root the owner of all the statically +linked programs:</para> -<para>This command changes the ownership of the root partition to -root. The command uses 0:0 instead of root:root, because the user name -"root" can't be resolved, as glibc is not installed yet.</para> +<para><screen><userinput>chown -R 0:0 /static</userinput></screen></para> + +<para>The command uses "0:0" instead of "root:root", because there is no way +to resolve the name "root", as glibc hasn't been installed yet.</para> </sect1> |