clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 8c3f58f 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
|
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 | <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 |
|
---|
29 |
|
---|
30 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.