aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/createfiles.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml
index 3f5698438..c81ec9b1c 100644
--- a/chapter07/createfiles.xml
+++ b/chapter07/createfiles.xml
@@ -43,6 +43,12 @@
<screen><userinput>ln -sv /proc/self/mounts /etc/mtab</userinput></screen>
+ <para>Create a basic <filename>/etc/hosts</filename> file to be
+ referenced in some test suites, and in one of Perl's configuration files
+ as well:</para>
+
+<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
+
<para>In order for user <systemitem class="username">root</systemitem> to be
able to login and for the name <quote>root</quote> to be recognized, there
must be relevant entries in the <filename>/etc/passwd</filename> and