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

Chapter 2 37
Internet Daemon
Starting and Stopping inetd
Passwords on JINETD
When you stream the job file JINETD.NET.SYS, it logs on as
MANAGER.SYS. As part of the installation of inetd, you must take care of
any password requirements for this job. Two of the ways that you can
do this include:
Add the MANAGER.SYS passwords directly to the job file, then alter
the file security afterwards so that only MANAGER.SYS can read it.
For example:
:ALTSEC JINETD.NET.SYS; (R,W:CR;X,L:AC)
Use the PASSEXEMPT parameter of the JOBSECURITY command
(version C.60.00 and later) to control password exemption.
Starting inetd Interactively
You may also start inetd interactively, though this is not recommended
for normal use. To do so, enter the following command at the CI prompt:
:INETD.NET.SYS
Or, from the POSIX shell enter this command:
$/etc/inetd
When you start inetd interactively, $STDLIST for the Internet daemon
is your terminal. This means that all error and warning messages that
normally go to JINETD’s spool file will appear on the screen.
Error and Status Reporting for inetd
While inetd is running, any errors and other status messages that it
generates are recorded so that you can monitor its condition. All errors,
regardless of their degree of seriousness, are sent to the $STDLIST
device assigned to inetd. For example, if you streamed JINETD, error
messages will appear in the spool file associated with that job. More
critical errors are displayed on the system console in addition to being
sent to $STDLIST. For more information, read “Using inetd Message
Logging” later in this chapter.
Stopping inetd
To stop inetd, you abort the JINETD job. Stopping the inetd server
(aborting JINETD) will cause subsequent incoming connection requests
to be refused.
1. First find the number assigned to JINETD by entering:
:SHOWJOB JOB=@J