diff options
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r-- | chapter06/createfiles.xml | 5 |
1 files changed, 3 insertions, 2 deletions
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</userinput></screen> <para>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.</para> -<screen><userinput>echo "tester:x:101:101::/tmp:/bin/bash" >> /etc/passwd -echo "tester:x:101:dummy" >> /etc/group</userinput></screen> +<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd +echo "tester:x:101:dummy" >> /etc/group +install -o tester -d /home/tester</userinput></screen> <para>To remove the <quote>I have no name!</quote> prompt, start a new shell. Since a full Glibc was installed in <xref |