HP-UX Internet Services Administrator's Guide (August 2003)
Installing and Configuring Internet Services
Configuring the Internet Services Software
Chapter 2 35
at the URL
http://www.docs.hp.com/hpux/netcom/index.html#Internet%2
0Services for more information.
8. If the host is an NTP server, change its IP address in the
/etc/ntp.conf file on NTP clients. If the host is an NTP client and
is moving to another network, you might have to configure a different
NTP server in its /etc/ntp.conf file. See “Configuring the Network
Time Protocol (NTP)” in the HP-UX IP Address and Client
Management Administrator’s Guide at the URL
http://www.docs.hp.com/hpux/netcom/index.html#Internet%2
0Services for more information.
9. Reboot the host.
Configuring inetd
The Internet daemon, /usr/sbin/inetd, is the master server for many
of the Internet Services. The inetd daemon listens for connection
requests for the services listed in its configuration file and spawns the
appropriate server on receiving a request.
You must invoke inetd as part of the boot process, by running the
following command at the HP-UX prompt:
# /sbin/init.d/inetd start
The /etc/inetd.conf file is the inetd configuration file, which lists the
services that may be started by inetd. In addition to the configuration
file, you can configure an optional security file called
/var/adm/inetd.sec to restrict access to the services started by inetd.
This section provides instructions for completing the following tasks:
• “Editing the /etc/inetd.conf File” on page 35
• “Editing the /var/adm/inetd.sec File” on page 36
If you want to write your own service and tie it in to inetd, see the BSD
Sockets Interface Programmer’s Guide, at the URL
http://docs.hp.com/hpux/onlinedocs/B2355-90136/B2355-90136.
html for more information.
Editing the /etc/inetd.conf File
To edit the inetd.conf file using any text editor, complete the following
steps: