clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since a45f862 was 8f1ae86, checked in by Joe Ciccone <jciccone@…>, 14 years ago |
Migrated the UID and GID Map from Sysroot.
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[040521bc] | 13 | <para os="a">Currently, the <filename class="directory">${CLFS}</filename>
|
---|
[6bfe833] | 14 | directory and all of its subdirectories are owned by the user
|
---|
[3f76cac] | 15 | <systemitem class="username">clfs</systemitem>, a user that exists only
|
---|
[040521bc] | 16 | on the host system. For security reasons, the ${CLFS} root directory and
|
---|
[d1ff581] | 17 | all of its subdirectories should be owned by
|
---|
[6bfe833] | 18 | <systemitem class="username">root</systemitem>. Change the ownership
|
---|
[040521bc] | 19 | for ${CLFS} and its subdirectories by running this command:</para>
|
---|
[6bfe833] | 20 |
|
---|
[8f1ae86] | 21 | <screen os="b"><userinput>chown -Rv &uid-root;:&gid-root; ${CLFS}</userinput></screen>
|
---|
| 22 |
|
---|
| 23 | <para>The following files are to be owned by the group
|
---|
| 24 | <systemitem class="username">utmp</systemitem> not by
|
---|
| 25 | <systemitem class="username">root</systemitem>.</para>
|
---|
| 26 |
|
---|
| 27 | <screen><userinput>chgrp -v &gid-utmp; ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog</userinput></screen>
|
---|
| 28 |
|
---|
[6d4c909] | 29 |
|
---|
[3f8be484] | 30 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.