diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-04-21 14:12:43 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-04-21 14:12:43 +0800 |
commit | e286d8db1493827461aa95ea43b345a9ce5d9f2e (patch) | |
tree | 7495946939e13bf8169246318dfb6f8c8b1de2db /chapter07 | |
parent | 421e0cfcdaaaccfe64ca4af145a41da13598f3bb (diff) |
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".
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/cleanup.xml | 4 | ||||
-rw-r--r-- | chapter07/introduction.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chapter07/cleanup.xml b/chapter07/cleanup.xml index 651f2e8d6..6ed78fb93 100644 --- a/chapter07/cleanup.xml +++ b/chapter07/cleanup.xml @@ -156,9 +156,9 @@ tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen> restore when they don't need to. --> <warning><para>The following commands are extremely dangerous. If - you run <command>rm -rf ./*</command> as the root user and you + you run <command>rm -rf ./*</command> as the &root; user and you do not change to the $LFS directory or the <envar>LFS</envar> - environment variable is not set for the root user, it will destroy + environment variable is not set for the &root; user, it will destroy your entire host system. YOU ARE WARNED.</para></warning> <screen role="nodump"><computeroutput>cd $LFS diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index 2b0030d7b..6605ddea4 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -25,7 +25,7 @@ <para>Until <xref linkend="ch-tools-chroot"/>, the commands must be run as <systemitem class="username">root</systemitem>, with the <envar>LFS</envar> variable set. After entering chroot, all commands - are run as root, fortunately without access to the OS of the computer + are run as &root;, fortunately without access to the OS of the computer you built LFS on. Be careful anyway, as it is easy to destroy the whole LFS system with badly formed commands.</para> |