User's Manual

Solaris 9 Security CX-310-301 26
¾ daemon – Messages concerning daemon processes (syslogd, inetd for example)
¾ * - All of the facilities
¾ local.* – Locally defined message criteria
The priorities are:
¾ emerg – Emergency situations. These are broadcast to all users
¾ alert – Situations that need to be addressed immediately
¾ crit – Critical warnings
¾ err – Non-critical error messages
¾ warn – Warning messages
¾ notice – Other conditions that aren’t errors, but might still require attention
¾ info – Messages for information only
¾ debug – Messages providing information when debugging processes
¾ none – Do not log any messages for this facility
You will often find that third party supplied software makes use of the locally defined facilities to provide
syslog compatibility for their product.
Configuring Standalone syslog
By default, when you install Solaris 9, an entry for the system being installed is made in the /etc/inet/hosts
file. This also includes an alias loghost, which is provided for use with syslog. The syslog utility is
configured through a configuration file, /etc/syslog.conf, the standard file distributed with the Solaris 9
release is shown here:
# cat /etc/syslog.conf
#ident "@(#)syslog.conf 1.5 98/12/14 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#