8.80.3. Contents of Sysklogd
Installed program:
syslogd
The Sysklogd package contains programs for logging system messages, such as those emitted by the kernel when unusual things happen.
Prepare the package for compilation:
./configure --prefix=/usr \ --sysconfdir=/etc \ --runstatedir=/run \ --without-logger
Compile the package:
make
This package does not come with a test suite.
Install the package:
make install
Create a new /etc/syslog.conf
file by
running the following:
cat > /etc/syslog.conf << "EOF"
# 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 *
# Do not open any internet ports.
secure_mode 2
# End /etc/syslog.conf
EOF