Changeset e286d8db


Ignore:
Timestamp:
04/21/2022 06:12:43 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
720c0bd
Parents:
421e0cf
Message:

decorate the references to root and lfs user

The references already correctly decorated are not changed because "if
it's not broken don't fix it".

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • chapter02/stages.xml

    r421e0cf re286d8db  
    7272        <quote>Entering the Chroot Environment</quote> must be done as the
    7373        <systemitem class="username">root</systemitem> user, with the LFS
    74         environment variable set for the
    75         <systemitem class="username">root</systemitem>user.</para>
     74        environment variable set for the &root; user.</para>
    7675      </listitem>
    7776
  • chapter04/addinguser.xml

    r421e0cf re286d8db  
    8787
    8888  <note><para>In some host systems, the following command does not complete
    89   properly and suspends the login to the lfs user to the background.  If the
    90   prompt "lfs:~$" does not appear immediately, entering the
     89  properly and suspends the login to the &lfs-user; user to the background.
     90  If the prompt "lfs:~$" does not appear immediately, entering the
    9191  <command>fg</command> command will fix the issue.</para></note>
    9292
  • chapter07/cleanup.xml

    r421e0cf re286d8db  
    157157
    158158    <warning><para>The following commands are extremely dangerous.  If
    159     you run <command>rm -rf ./*</command> as the root user and you
     159    you run <command>rm -rf ./*</command> as the &root; user and you
    160160    do not change to the $LFS directory or the <envar>LFS</envar>
    161     environment variable is not set for the root user, it will destroy
     161    environment variable is not set for the &root; user, it will destroy
    162162    your entire host system.  YOU ARE WARNED.</para></warning>
    163163
  • chapter07/introduction.xml

    r421e0cf re286d8db  
    2626  run as <systemitem class="username">root</systemitem>, with the
    2727  <envar>LFS</envar> variable set. After entering chroot, all commands
    28   are run as root, fortunately without access to the OS of the computer
     28  are run as &root;, fortunately without access to the OS of the computer
    2929  you built LFS on. Be careful anyway, as it is easy to destroy the whole
    3030  LFS system with badly formed commands.</para>
  • chapter08/bash.xml

    r421e0cf re286d8db  
    7474<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
    7575
    76     <para>The testsuite of the package is designed to be run as a non-root
     76    <para>The testsuite of the package is designed to be run as a non-&root;
    7777    user that owns the terminal connected to standard input.  To satisfy the
    7878    requirement, spawn a new pseudo terminal using
  • chapter08/coreutils.xml

    r421e0cf re286d8db  
    125125<screen><userinput remap="test">echo "dummy:x:102:tester" &gt;&gt; /etc/group</userinput></screen>
    126126
    127     <para>Fix some of the permissions so that the non-root user can compile and
    128     run the tests:</para>
     127    <para>Fix some of the permissions so that the non-&root; user can
     128    compile and run the tests:</para>
    129129
    130130<screen><userinput remap="test">chown -Rv tester . </userinput></screen>
  • chapter08/util-linux.xml

    r421e0cf re286d8db  
    8585<screen><userinput remap="make">make</userinput></screen>
    8686
    87     <para>If desired, run the test suite as a non-root user:</para>
     87    <para>If desired, run the test suite as a non-&root; user:</para>
    8888
    8989    <warning><para>Running the test suite as the
  • chapter10/kernel.xml

    r421e0cf re286d8db  
    249249      <para>If the host system has a separate /boot partition, the files copied
    250250      below should go there. The easiest way to do that is to bind /boot on the
    251       host (outside chroot) to /mnt/lfs/boot before proceeding.  As the root
    252       user in the <emphasis>host system</emphasis>:</para>
     251      host (outside chroot) to /mnt/lfs/boot before proceeding.  As the
     252      &root; user in the <emphasis>host system</emphasis>:</para>
    253253
    254254<screen role="nodump"><userinput>mount --bind /boot /mnt/lfs/boot</userinput></screen>
  • chapter11/reboot.xml

    r421e0cf re286d8db  
    4747    <listitem><para>Installing <ulink
    4848    url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
    49     building packages as a non-root user and easily installing the resulting
    50     packages in your new system.</para></listitem>
     49    building packages as a non-&root; user and easily installing the
     50    resulting packages in your new system.</para></listitem>
    5151
    5252    <listitem><para>If you want to access your new system from a remote system
Note: See TracChangeset for help on using the changeset viewer.