From 1f5a5864d2e3a4a04bbc1a76f2ac4665ff485650 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 29 May 2020 22:05:38 +0000 Subject: Tweak additions and deletion of tester user. Explain test filures in bash. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11868 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/createfiles.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chapter06/createfiles.xml') diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 8e7b78410..74a071df0 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -345,8 +345,9 @@ EOF Some tests later in the chapter need a regular user. We add this user here and delete this account at the end of the chapter. -echo "tester:x:101:101::/tmp:/bin/bash" >> /etc/passwd -echo "tester:x:101:dummy" >> /etc/group +echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd +echo "tester:x:101:dummy" >> /etc/group +install -o tester -d /home/tester To remove the I have no name! prompt, start a new shell. Since a full Glibc was installed in