source: clfs-embedded/BOOK/bootable/common/chowning.xml @ 08718a4

Last change on this file since 08718a4 was 08718a4, checked in by Andrew Bradford <bradfa@…>, 13 years ago

Don't mknod /dev/console and /dev/null

mdev will create both /dev/console and /dev/null for us automatically
at boot time, so there's no reason to manually create them.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[a9e389d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[a9e389d]4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-bootable-chowning">
9  <?dbhtml filename="chowning.html"?>
10
11  <title>Changing the Ownership Of The CLFS System</title>
12
13  <para>Throughout the book, every package has been compiled and installed as
[73b32c7]14  the <systemitem class="username">clfs</systemitem> user. The final system
[a9e389d]15  should be owned by <systemitem class="username">root</systemitem>.</para>
16
17  <important>
18
19    <para>The commands in the remainder of this book must be performed while
20    logged in as <systemitem class="username">root</systemitem>. Check that
21    ${CLFS} is still set:</para>
22
23    <screen><userinput>echo ${CLFS}</userinput></screen>
24
25  </important>
26
27  <para>Make <systemitem class="username">root</systemitem> the owner of the
[73b32c7]28  entire CLFS system:</para>
[a9e389d]29
30<screen><userinput>chown -Rv root:root ${CLFS}</userinput></screen>
31
[73b32c7]32  <para>The following files are not to be owned by
33  <systemitem class="username">root</systemitem>:</para>
[a9e389d]34
35<screen><userinput>chgrp -v utmp ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog</userinput></screen>
36
37</sect1>
Note: See TracBrowser for help on using the repository browser.