aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sysklogd.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2004-02-09 22:45:54 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2004-02-09 22:45:54 +0000
commit342b176cf9ee3261933eedc36e4d010fd62b36c9 (patch)
tree6e01b566503b95ca78e69c784879d85ea11c0fba /chapter06/sysklogd.xml
parentc76accc624f1e3f31072f7645f5faa19ccd697b6 (diff)
Merging configaration subsections into their corresponding sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3245 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysklogd.xml')
-rw-r--r--chapter06/sysklogd.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml
index f23a151b1..9043544e8 100644
--- a/chapter06/sysklogd.xml
+++ b/chapter06/sysklogd.xml
@@ -26,7 +26,28 @@ as those given by the kernel when unusual things happen.</para>
</sect2>
-&c6-cf-sysklogd;
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2><title>Configuring Sysklogd</title>
+
+<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
+following:</para>
+
+<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
+# Begin /etc/syslog.conf
+
+auth,authpriv.* -/var/log/auth.log
+*.*;auth,authpriv.none -/var/log/sys.log
+daemon.* -/var/log/daemon.log
+kern.* -/var/log/kern.log
+mail.* -/var/log/mail.log
+user.* -/var/log/user.log
+*.emerg *
+
+# End /etc/syslog.conf
+<userinput>EOF</userinput></screen>
+
+</sect2>
&aa-sysklogd-shortdesc;
&aa-sysklogd-desc;