Changeset 34fe7e0


Ignore:
Timestamp:
12/26/2020 03:51:54 PM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, ml-11.0, multilib, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
fb87fac
Parents:
ce9b68d
Message:

decorate usernames with <systemitem>

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12071 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter02/aboutlfs.xml

    rce9b68d r34fe7e0  
    5858  user's <filename>.bash_profile</filename> is not normally used when
    5959  a virtual terminal is started.  In this case, add the export command to
    60   the <filename>.bashrc</filename> file for the user and root.  In addition,
     60  the <filename>.bashrc</filename> file for the user and
     61  <systemitem class="username">root</systemitem>.  In addition,
    6162  some distributions have instructions to not run the <filename>.bashrc</filename>
    6263  instructions in a non-interactive bash invocation.  Be sure to add the
  • chapter02/stages.xml

    rce9b68d r34fe7e0  
    2626    <itemizedlist>
    2727      <listitem>
    28         <para>Procedures done as the root user after Section 2.4 need to
    29         have the LFS environment variable set <emphasis>FOR THE ROOT
    30         USER</emphasis>.</para>
     28        <para>Procedures done as the
     29        <systemitem class="username">root</systemitem> user after Section
     30        2.4 need to have the LFS environment variable set
     31        <emphasis>FOR THE ROOT USER</emphasis>.</para>
    3132      </listitem>
    3233    </itemizedlist>
     
    4243
    4344      <listitem>
    44         <para>Threse two chapters must be done as user <emphasis>lfs</emphasis>.
     45        <para>These two chapters <emphasis>must</emphasis> be done as user
     46        <systemitem class="username">lfs</systemitem>.
    4547        A <command>su - lfs</command> needs to be done before any task in these
    4648        chapters. Failing to do that, you are at risk of installing packages to the
     
    6971        <para>A few operations, from <quote>Changing Ownership</quote> to
    7072        <quote>Entering the Chroot Environment</quote> must be done as the
    71         root user, with the LFS environment variable set for the root user.</para>
     73        <systemitem class="username">root</systemitem> user, with the LFS
     74        environment variable set for the
     75        <systemitem class="username">root</systemitem>user.</para>
    7276      </listitem>
    7377
    7478      <listitem>
    7579         <para> When entering chroot, the LFS environment variable must be set
    76          for root. The LFS variable is not used afterwards.</para>
     80         for <systemitem class="username">root</systemitem>. The LFS
     81         variable is not used afterwards.</para>
    7782      </listitem>
    7883
     
    8085         <para> The virtual file systems must be mounted.  This can be done
    8186         before or after entering chroot by changing to a host virtual terminal
    82          and, as root, running the commands in
     87         and, as <systemitem class="username">root</systemitem>, running the
     88         commands in
    8389         <xref linkend='ch-tools-bindmount'/> and
    8490         <xref linkend='ch-tools-kernfsmount'/>.</para>
  • chapter05/glibc.xml

    rce9b68d r34fe7e0  
    148148
    149149    <warning><para>If <envar>LFS</envar> is not properly set, and despite the
    150     recommendations, you are building as root, the next command will install
    151     the newly built glibc to your host system, which most likely will render it
    152     unusable. So double check that the environment is correctly set for user
    153     <systemitem class="username">lfs</systemitem>.</para></warning>
     150    recommendations, you are building as
     151    <systemitem class="username">root</systemitem>, the next command will
     152    install the newly built glibc to your host system, which most likely
     153    will render it unusable. So double check that the environment is
     154    correctly set, before running the following command.</para></warning>
    154155
    155156<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
  • chapter06/introduction.xml

    rce9b68d r34fe7e0  
    2323
    2424  <para>Once again, let us recall that improper setting of <envar>LFS</envar>
    25   together with building as root, may render your computer unusable.
     25  together with building as <systemitem class="username">root</systemitem>,
     26  may render your computer unusable.
    2627  This whole chapter must be done as user <systemitem
    2728  class="username">lfs</systemitem>, with the environment as described in
  • chapter08/coreutils.xml

    rce9b68d r34fe7e0  
    8888        <listitem>
    8989          <para>This environment variable allows the package to be
    90           built as the root user.
     90          built as the <systemitem class="username">root</systemitem> user.
    9191          </para>
    9292        </listitem>
  • chapter08/tar.xml

    rce9b68d r34fe7e0  
    5757        <listitem>
    5858          <para>This forces the test for <function>mknod</function> to be run
    59           as root.  It is generally considered dangerous to run this test as
    60           the root user, but as it is being run on a system that has only been
     59          as <systemitem class="username">root</systemitem>.
     60          It is generally considered dangerous to run this test as
     61          the <systemitem class="username">root</systemitem> user, but as it
     62          is being run on a system that has only been
    6163          partially built, overriding it is OK.</para>
    6264        </listitem>
  • chapter08/util-linux.xml

    rce9b68d r34fe7e0  
    8989    <para>If desired, run the test suite as a non-root user:</para>
    9090
    91     <warning><para>Running the test suite as the root user can be harmful to
     91    <warning><para>Running the test suite as the
     92    <systemitem class="username">root</systemitem> user can be harmful to
    9293    your system.  To run it, the CONFIG_SCSI_DEBUG option for the kernel must
    9394    be available in the currently running system and must be built as a
  • chapter09/systemd-custom.xml

    rce9b68d r34fe7e0  
    4242
    4343    <para>The boot messages can always be reviewed by using the
    44     <userinput>journalctl -b</userinput> command as the root user.</para>
     44    <userinput>journalctl -b</userinput> command as the
     45    <systemitem class="username">root</systemitem> user.</para>
    4546
    4647  </sect2>
Note: See TracChangeset for help on using the changeset viewer.