diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml
index 85d24c6a6..e7e3c7868 100644
--- a/chapter07/createfiles.xml
+++ b/chapter07/createfiles.xml
@@ -61,7 +61,7 @@ EOF
command:
cat > /etc/passwd << "EOF"
-root:x:0:0:root:/root:/usr/bin/bash
+root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/dev/null:/usr/bin/false
daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false
messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false
@@ -70,7 +70,7 @@ nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false
EOF
cat > /etc/passwd << "EOF"
-root:x:0:0:root:/root:/usr/bin/bash
+root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/dev/null:/usr/bin/false
daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false
messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false
@@ -175,7 +175,7 @@ EOF
user. We add this user here and delete this account at the end of that
chapter.
-echo "tester:x:101:101::/home/tester:/usr/bin/bash" >> /etc/passwd
+echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd
echo "tester:x:101:" >> /etc/group
install -o tester -d /home/tester