[ Previous | Next | Contents | Home | Search ]
AIX Versions 3.2 and 4 Asynchronous Communications Guide

Enabling the getty_hty Command

The getty_hty command is a sample program that passes user and host information for the telnet command and facilitates automatic login for the rlogin command.

Note: The /usr/sbin/getty_hty command and /usr/samples/ntx/getty_hty.c sample source code do not enable the Ctrl-D key sequence for ending a session. Execute the exit command to end a session. Alternatively, you can add the following line to the $HOME/.profile or $HOME/.login file to enable the Ctrl-D key sequence upon login:
stty eof ^D

Prerequisites

  1. You must have root user authority.
  2. You must set the User Environment Events field to enabled and the Rlogin Environment Information field to strip in the Global Modes SMIT configuration menu.

Procedure

To enable the getty_hty command, perform the following steps:

  1. Edit the /etc/inittab file using your favorite editor.
  2. Find the hty that you want to enable and change the command field from getty to getty_hty .
  3. In the same line, change the action field from off to respawn , if necessary.
  4. Save and close the file.
  5. Run the telinit q command to request the init command to reread the /etc/inittab file.

[ Previous | Next | Contents | Home | Search ]