HP-UX Internet Services Administrator's Guide (May 2010)

The first example allows access to rlogin from any IP address beginning with 10. The
second example denies access to remsh and rcp from hosts vandal and hun. The
third example denies everyone access to tftp.
Only the services configured in /etc/inetd.conf can be configured in
/var/adm/inetd.sec.
For more information, type man 4 inetd.sec or man 1M inetd at the HP-UX
prompt.
Configuring Logging
This section discusses the following topics:
“Configuring syslogd” (page 34)
“Maintaining System Log Files” (page 35)
“Configuring inetd Connection Logging” (page 35)
“Configuring ftpd Session Logging” (page 35)
Configuring syslogd
The Internet daemons and servers log informational and error messages through
syslog. You can monitor these messages by running syslogd and determine the
type and extent of monitoring through syslogds configuration file,
/etc/syslog.conf.
Each line in /etc/syslog.conf has a selector and an action. The selector specifies
which part of the system generated the message and what priority the message has.
The action specifies where the message should be sent.
The part of the selector that specifies where a message comes from is called the facility.
All Internet daemons and servers, except sendmail, log messages to the daemon
facility. sendmail logs messages to the mail facility. syslogd logs messages to the
syslog facility. You can indicate all facilities in the configuration file with an asterisk
(*).
The part of the selector that specifies what priority a message has is called the level.
Selector levels are debug, information, notice, warning, error, alert,
emergency, and critical. A message must be at or above the level you specify in
order to be logged.
The action allows you to specify where messages should be directed. You can have the
messages directed to files, users, the console, or to a syslogd running on another host.
The following is the default configuration for /etc/syslog.conf:
mail.debug /var/adm/syslog/mail.log
*.info,mail.none /var/adm/syslog/syslog.log
*.alert *.alert /det/console root
*.emerg *
34 Installing and Configuring Internet Services