diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5749f5815..1300efa4f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -64,8 +64,8 @@ #5615. - [bdubbs] - Update to shadow-4.17.0. Fixes - #5617. + [bdubbs] - Update to shadow-4.17.1. Fixes + #5617. [bdubbs] - Update to procps-ng-4.0.5. Fixes diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 3f4d07645..1a2068680 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -20,8 +20,8 @@ the installation process. As root, issue the following commands to add the new user: -groupadd lfs -useradd -s /bin/bash -g lfs -m -k /dev/null lfs +groupadd &lfs-groupname; +useradd -s /bin/bash -g &lfs-groupname; -m -k /dev/null &lfs-username; This is what the command line options mean: @@ -74,15 +74,15 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs have a password), you need to set a password for &lfs-user;. Issue the following command as the &root; user to set the password: -passwd lfs +passwd &lfs-username; Grant lfs full access to all the directories under $LFS by making lfs the owner: -chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools} +chown -v &lfs-username; $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools} case $(uname -m) in - x86_64) chown -v lfs $LFS/lib64 ;; + x86_64) chown -v &lfs-username; $LFS/lib64 ;; esac chown -v lfs $LFS/lib32 chown -v lfs $LFS/libx32 @@ -97,7 +97,7 @@ esac logging in as &lfs-user; on a virtual console, or with the following substitute/switch user command: -su - lfs +su - &lfs-username; The - instructs su to start a login shell as opposed to a non-login shell. diff --git a/chapter07/changingowner.xml b/chapter07/changingowner.xml index 38f9d9db1..838532025 100644 --- a/chapter07/changingowner.xml +++ b/chapter07/changingowner.xml @@ -33,9 +33,9 @@ user root by running the following command: -chown --from lfs -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools} +chown --from &lfs-username; -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools} case $(uname -m) in - x86_64) chown --from lfs -R root:root $LFS/lib64 ;; + x86_64) chown --from &lfs-username; -R root:root $LFS/lib64 ;; esac Some more directories exists for diff --git a/general.ent b/general.ent index 4e1480324..b3bce5ae8 100644 --- a/general.ent +++ b/general.ent @@ -134,6 +134,8 @@ root"> lfs"> +lfs"> +lfs"> devtmpfs"> /etc/fstab"> /boot"> diff --git a/packages.ent b/packages.ent index 49af3fb39..2f05068ce 100644 --- a/packages.ent +++ b/packages.ent @@ -655,10 +655,10 @@ - - + + - +