Configuring the Telnet server [ Configuring and Managing MPE/iX Internet Services ] MPE/iX 5.5 Documentation
Configuring and Managing MPE/iX Internet Services
Configuring the Telnet server
To configure Telnet, you will edit two files: the services file, which
lists the individual services that comprise the suite of Internet
Services, and the inetd configuration file, which informs the Internet
daemon about running Telnet on this system. These tasks are explained in
the next sections.
Editing the services file
The services file associates official service names and aliases with the
port number and protocol the services use. To enable Telnet, you must
edit the services file. To do so:
1. Open the services file with a text editor. You may edit the
/etc/services file from the POSIX shell or the SERVICES.NET.SYS
file from MPE/iX, whichever you prefer. Both file names should
point to the same file.
2. Verify that the following line exists in the file or add it if it
does not:
telnet 23/tcp
3. If the line already exists in the file and it is preceded by a
pound symbol (#), delete the symbol and any spaces before the
service name to enable the service.
4. Save the file and exit the editor program.
For more detailed information about editing this file, read "Editing the
services file" in Chapter 1.
Adding Telnet service to the inetd configuration
The configuration file for inetd determines which installed Internet
Services are available to users. To add Telnet service to your system,
you need to edit the configuration file for inetd, then have inetd
re-read the configuration. To do so:
1. Open the configuration file with a text editor. You may edit the
/etc/inetd.conf file from the POSIX shell or the INETDCNF.NET.SYS
file from MPE/iX, whichever you prefer. Both file names should
point to the same file.
2. Verify that the following line exists in the file or add it if it
does not:
telnet stream tcp nowait MANAGER.SYS internal
3. If the line already exists in the file and it is preceded by a
pound symbol (#), delete the symbol and any spaces before the
service name to enable the service.
4. Save the file and exit the editor program.
5. Signal inetd to reread the configuration file by entering the
following command at the CI prompt:
:INETD.NET.SYS -c
Or you may enter this command from the POSIX shell:
$/etc/inetd -c
6. If you have added the Telnet server to the inetd configuration
file while the Internet daemon is not running, you must start
inetd to start the Telnet server. To do so, stream the job
JINETD.NET.SYS from the CI prompt.
:STREAM JINETD.NET.SYS
For more detailed information about editing this file, read "Adding new
services to the inetd configuration" in Chapter 2.
MPE/iX 5.5 Documentation