aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/config-glibc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/config-glibc.xml')
-rw-r--r--chapter06/config-glibc.xml34
1 files changed, 14 insertions, 20 deletions
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml
index afafb6c73..8c22d847d 100644
--- a/chapter06/config-glibc.xml
+++ b/chapter06/config-glibc.xml
@@ -2,10 +2,10 @@
<sect2><title>Configuring Glibc</title>
-<para>We need to create the /etc/nsswitch.conf file. Although glibc should
-provide defaults when this file is missing or corrupt, its defaults don't work
-well with networking. That is dealt with in a later chapter. Also, our
-timezone needs to be set up.</para>
+<para>We need to create the <filename>/etc/nsswitch.conf</filename> file,
+because, although Glibc provides defaults when this file is missing or corrupt,
+the Glibc defaults don't work well with networking. Also, our timezone needs
+to be set up.</para>
<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
following:</para>
@@ -32,27 +32,21 @@ netgroup: db files
# End /etc/nsswitch.conf
<userinput>EOF</userinput></screen></para>
-<para>The <userinput>tzselect</userinput> script has to be run and the
-questions regarding your timezone have to be answered.
-When you're done, the script will give the
-location of the needed timezone file.</para>
+<para>To find out what timezone you're in, run the following script:</para>
-<para> Create the <filename class="directory">/etc/localtime</filename> symlink
-by running:</para>
+<para><screen><userinput>tzselect</userinput></screen></para>
-<para><screen><userinput>ln -sf ../usr/share/zoneinfo/&lt;tzselect's output&gt; /etc/localtime</userinput></screen></para>
-
-<para>tzselect's output can be something like <emphasis>EST5EDT</emphasis> or
-<emphasis>Canada/Eastern</emphasis>.</para>
-
-<para>The symlink you'd create with that information would be:</para>
-
-<para><screen><userinput>ln -sf ../usr/share/zoneinfo/EST5EDT /etc/localtime</userinput></screen></para>
-
-<para>Or:</para>
+<para>When you've answered a few questions about your location, the script will
+output the name of your timezone, something like <emphasis>EST5EDT</emphasis>
+or <emphasis>Canada/Eastern</emphasis>. Then create the
+<filename>/etc/localtime</filename> symlink by running:</para>
<para><screen><userinput>ln -sf ../usr/share/zoneinfo/Canada/Eastern /etc/localtime </userinput></screen></para>
+<para>Of course, instead of <emphasis>Canada/Eastern</emphasis>, fill in
+the name of the timezone that the <userinput>tzselect</userinput> script
+gave you.</para>
+
</sect2>
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>