Telnet scenario: Telnet server configuration

The scenario depicts how an administrator configures a Telnet server, including objectives, prerequisites and assumptions, and configuration details.

Situation

Ken Harrison is the administrator for a new IBM® i environment for the fictitious company Culver Pharmaceuticals.

Objectives

He needs to configure the Telnet server to meet the following specifications:

  • Allow up to 100 virtual devices to be created automatically.
  • Always display the sign-on window.
  • Restrict privileged users to specific devices.
  • Limit each user to one device session.

Prerequisites and assumptions

This scenario makes the following assumptions:

  • Culver Pharmaceuticals is running the IBM i operating system.
  • TCP/IP is configured.
  • Ken has *IOSYSCFG authority.

Configuration details

You can follow the steps to configure your Telnet server in System i® Navigator.

  1. Start the Telnet server:
    1. In System i Navigator, expand your system > Network > Servers > TCP/IP.
    2. In the right pane, in the Server Name column, locate Telnet.
    3. Confirm that Started appears in the Status column.
    4. If the server is not running, right-click Telnet and click Start.
  2. Set the number of virtual devices:
    1. Select your system > Configuration and Service > System Values.
    2. In the right pane, right-click Devices and select Properties.
    3. On the Devices System Values page, enable Pass-through devices and TELNET and set the Maximum number of devices to 100.
  3. Configure Telnet server properties:
    1. Select your system > Network > Servers > TCP/IP.
    2. In the right pane, right-click Telnet and select Properties.
      Table 1. Telnet properties settings
      Click this tab... And ...
      System Sign-On Select:
      • Restrict privileged users to specific devices.
      • Limit each user to one device session.
      Remote Sign-On Specify the number of sign-on attempts allowed and the action to take if the maximum number of sign-on attempts is reached.
      Remote Select the Always display sign-on option for Use Telnet for remote sign-on.
      Time-Out Specify the action to take when jobs reach a time-out. You can also specify how long to give an operation before the job times out. You can specify information for both inactive jobs and disconnected jobs.
    Note: These settings apply to all interactive devices and jobs on your system, not just Telnet.
  4. Assign devices to subsystems.
    At the character-based interface, type:
    ADDWSE SBSD(QINTER) WRKSTNTYPE(*ALL)
  5. Activate the QSYSWRK subsystem:

    Check the status of the QSYSWRK subsystem:

    1. In the character-based interface, type WRKSBS (Work with Subsystems).
    2. Verify that the following systems are displayed:
      • QSYSWRK
      • QINTER
      • QSPL

    If the QSYSWRK subsystem is not active, complete the following steps:

    1. In the character-based interface, type STRSBS (Start Subsystem).
    2. Type QSYSWRK for the Subsystem description and QSYS for the Library, then press Enter.
    3. Repeat for Subsystem name QINTER with Library QSYS, and for Subsystem name QSPL with Library QSYS.
  6. Create Telnet user profiles:
    1. Start System i Navigator and expand your system.
    2. Right-click Users and Groups and select New User.
    3. Enter the user name, description, and password.
    4. To specify a job description, click Jobs and enter the job description.
    5. Click OK.
  7. Verify that Telnet is working.
    • Ken starts a 5250 emulation session and connects to the Telnet server.