Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

28 Chapter2
Internet Daemon
inetd Configuration File
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.
The Internet daemon reads its configuration file on three occasions:
When inetd is started during normal system startup
When inetd is started following a network shutdown as opposed to a
system shutdown
When you instruct an executing inetd to reread the configuration
file after you have made changes to it that you wish to put into effect
Creating and Linking inetd Configuration File
You may already have a configuration file for inetd installed on your
system. If you know that you have such a file, and it is accessible by the
POSIX file name /etc/inetd.conf you may skip these steps.
If not, follow these steps to create the file and link to it. If you have such
a file, but are unsure whether or not it is linked, perform step 2 only.
1. Create your own configuration file by using the COPY command to
rename the sample file. Enter:
:COPY INCNFSMP.NET.SYS TO INETDCNF.NET.SYS
2. Create a symbolic link from /etc/inetd.conf in the POSIX name
space to INETDCNF.NET.SYS. Enter:
:NEWLINK /etc/inetd.conf, INETDCNF.NET.SYS
3. Check the security provisions of the file and change them, if
necessary. Hewlett-Packard recommends that only MANAGER.SYS has
write access to INETDCNF.NET.SYS, and write and purge access to
/etc/inetd.conf.