Configuring and Managing MPE/iX Internet Services (August 2002)
Chapter 2
Internet Daemon
Starting and Stopping inetd
35
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
You will see a display of job information similar to the following:
JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME
#J6546 EXEC 10S LP THU 12:42A TRNSPOOL,MGR.NSD
#J6539 EXEC 10S PP THU 12:32A SPOOLJ,UNISPOOL.SYS
#J6540 EXEC 10S LP THU 12:41A JINETD.NET.SYS
3 JOBS (DISPLAYED):
0 INTRO
0 WAIT; INCL 0 DEFERRED
3 EXEC; INCL 0 SESSIONS
0 SUSP
JOBFENCE= 6; JLIMIT= 10; SLIMIT= 60
CURRENT: 1/15/96 16:12