diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 1300efa4f..f1278a110 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -116,7 +116,7 @@
#5559.
- [bdubbs] - Update to Python-3.13.1. Fixes
+ [bdubbs] - Update to Python-3.13.1 (Security Update). Fixes
#5605.
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/chapter08/flit-core.xml b/chapter08/flit-core.xml
index 419efc30f..29194aa63 100644
--- a/chapter08/flit-core.xml
+++ b/chapter08/flit-core.xml
@@ -42,7 +42,7 @@
Build the package:
-pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Install the package:
diff --git a/chapter08/jinja2.xml b/chapter08/jinja2.xml
index c06da9139..efa50a582 100644
--- a/chapter08/jinja2.xml
+++ b/chapter08/jinja2.xml
@@ -42,7 +42,7 @@
Build the package:
-pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Install the package:
diff --git a/chapter08/setuptools.xml b/chapter08/setuptools.xml
index dfb31c5b8..8a404be73 100644
--- a/chapter08/setuptools.xml
+++ b/chapter08/setuptools.xml
@@ -42,7 +42,7 @@
Build the package:
-pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
Install the package:
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">