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

configured to relay boot requests to the host, change the host’s IP address in the
/etc/bootptab file on the BOOTP relay agent. See “Configuring TFTP and
BOOTP Servers” in the HP-UX Remote Access Services Administrator’s Guide at the
URL
http://www.docs.hp.com/hpux/netcom/index.html#Internet%20Services
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%20Services
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” (page 32)
“Editing the /var/adm/inetd.sec File” (page 33)
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:
1. Make sure /etc/inetd.conf contains the following lines. If any of the lines
start with a number sign (#), remove the number sign to enable that particular
service.
32 Installing and Configuring Internet Services