source: BOOK/boot/common/changingowner.xml@ b2bbca4

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b2bbca4 was eaa127e, checked in by Chris Staub <chris@…>, 11 years ago

Removed unneeded command

  • Property mode set to 100644
File size: 940 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-changingowner">
9 <?dbhtml filename="changingowner.html"?>
10
11 <title>Changing Ownership</title>
12
13 <para os="a">Currently, the <filename class="directory">${CLFS}</filename>
14 directory and all of its subdirectories are owned by the user
15 <systemitem class="username">clfs</systemitem>, a user that exists only
16 on the host system. For security reasons, the ${CLFS} root directory and
17 all of its subdirectories should be owned by
18 <systemitem class="username">root</systemitem>. Change the ownership
19 for ${CLFS} and its subdirectories by running this command:</para>
20
21<screen os="b"><userinput>chown -Rv &uid-root;:&gid-root; ${CLFS}</userinput></screen>
22
23</sect1>
Note: See TracBrowser for help on using the repository browser.