aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/createfiles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/createfiles.xml')
-rw-r--r--chapter05/createfiles.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter05/createfiles.xml b/chapter05/createfiles.xml
index c762c50b9..ce1f67ba7 100644
--- a/chapter05/createfiles.xml
+++ b/chapter05/createfiles.xml
@@ -156,6 +156,14 @@ EOF</userinput></screen>
administrator since well-written programs do not depend on GID numbers, but
rather use the group's name.</para>
+ <para>Some tests in <xref linkend="chapter-building-system"/> need a regular
+ user. We add this user here and delete this account at the end of that
+ chapter.</para>
+
+<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
+echo "tester:x:101:" &gt;&gt; /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 the
<filename>/etc/passwd</filename> and <filename>/etc/group</filename>