Configuring and Managing MPE/iX Internet Services (August 2002)
Chapter 2
Internet Daemon
inetd Configuration File
26
Internal Services Provided by inetd
The Internet daemon provides several internal trivial services which are described here.
Service Description
echo Returns a character to the socket that sent it
discard Discards all input from socket
chargen Generates characters and sends them to a socket
daytime Returns the current time in a format readable by people.
time Returns current time in a format useful to machines, for example, the number of seconds
since Jan 1, 1970.
inetd Files
There are four files of importance as shown in Table 2-1, for configuring and using inetd. Once you have
installed or updated to version C.60.00 or later, of MPE/iX, these files are located in the NET group of the SYS
account.
The remainder of this chapter explains how to copy, link and edit these files to create a working version of the
Internet daemon on your system.
inetd Configuration File
The Internet daemon accesses the configuration data it needs by reading the file /etc/inetd.conf in the
POSIX name space. When you install or update to version C.60.00 of MPE/iX, you receive a sample
configuration file that you can use as a template for your own inetd configuration file if you don’t already
have one. This process involves two steps: creating the actual file in the MPE name space and creating a
symbolic link that points from the POSIX file /etc/inetd.conf to the MPE file. The steps to create and link
the file is explained later in this section. The reasons Hewlett-Packard recommends symbolic linking is
explained in Chapter 1, “Introduction to Internet Services.”
Table 2-1 The Internet Daemon Files
File Description
INETD.NET.SYS The program file for inetd which is linked to the POSIX file
/etc/inetd.
INCNFSMP.NET.SYS The sample configuration file for inetd. You will copy the sample file to
INETDCNF.NET.SYS, create a symbolic link from the POSIX file
/etc/inetd.conf to INETDCNF.NET.SYS, and edit it as necessary.
INSECSMP.NET.SYS The sample security file for inetd. You will copy this file to
INETDSEC.NET.SYS, create a symbolic link from the POSIX file
/usr/adm/inetd.sec to INETDSEC.NET.SYS, and edit it as necessary.
JINETD.NET.SYS The job file that you will stream to start inetd and abort to stop inetd.
You won't need to copy, link, or edit this file.