source: chapter06/sysklogd.xml@ e2691a9

Last change on this file since e2691a9 was 673b0d8, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Merged newxml into HEAD

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd">
7<title>Sysklogd-&sysklogd-version;</title>
8<?dbhtml filename="sysklogd.html"?>
9
10<indexterm zone="ch-system-sysklogd"><primary sortas="a-Sysklogd">Sysklogd</primary></indexterm>
11
12<para>The Sysklogd package contains programs for logging system messages, such
13as those given by the kernel when unusual things happen.</para>
14
15<screen>&buildtime; 0.1 SBU
16&diskspace; 0.5 MB</screen>
17
18<para>Sysklogd installation depends on: Binutils, Coreutils, GCC, Glibc, Make.</para>
19
20
21
22<sect2>
23<title>Installation of Sysklogd</title>
24
25<para>Compile Sysklogd:</para>
26
27<screen><userinput>make</userinput></screen>
28
29<para>Now install it:</para>
30
31<screen><userinput>make install</userinput></screen>
32
33</sect2>
34
35
36<sect2 id="conf-sysklogd"><title>Configuring Sysklogd</title>
37<indexterm zone="conf-sysklogd">
38<primary sortas="a-Sysklogd">Sysklogd</primary>
39<secondary>configuring</secondary></indexterm>
40
41<indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
42
43<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
44following:</para>
45
46<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
47# Begin /etc/syslog.conf
48
49auth,authpriv.* -/var/log/auth.log
50*.*;auth,authpriv.none -/var/log/sys.log
51daemon.* -/var/log/daemon.log
52kern.* -/var/log/kern.log
53mail.* -/var/log/mail.log
54user.* -/var/log/user.log
55*.emerg *
56
57# End /etc/syslog.conf
58<userinput>EOF</userinput></screen>
59
60</sect2>
61
62
63<sect2 id="contents-sysklogd"><title>Contents of Sysklogd</title>
64
65<para><emphasis>Installed programs</emphasis>: klogd and syslogd</para>
66
67</sect2>
68
69
70<sect2><title>Short descriptions</title>
71
72<indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
73<para id="klogd"><command>klogd</command> is a system daemon for intercepting and
74logging kernel messages.</para>
75
76<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
77<para id="syslogd"><command>syslogd</command> logs the messages that system programs
78offer for logging. Every logged message contains at least a date stamp and a
79hostname, and normally the program's name too, but that depends on how
80trusting the logging daemon is told to be.</para>
81
82</sect2>
83
84
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.