IBM i Telnet automatic sign-on and the QRMTSIGN system value
How an IBM i decides whether to skip the sign-on display for a Telnet session, what each QRMTSIGN value does, and why the sign-on display usually appears.
By default an IBM i Telnet session shows the Sign On display and waits for you to type a user ID and password. A client can ask to skip that display by sending a user profile name and password when it connects. The QRMTSIGN (remote sign-on) system value decides what the system does with that request.
The setting matters only when the Telnet request includes a user ID and a password. If the client sends neither, you always see the Sign On display, whatever QRMTSIGN says.
What each value does for Telnet
*REJECT: The user ID and password are ignored. The user sees the Sign On display.*VERIFY: If the user profile and password are valid, the Telnet session starts and the Sign On display is skipped.*SAMEPRF: If the user profile and password are valid, the Telnet session starts and the Sign On display is skipped. (For display station pass-through,*SAMEPRFadditionally requires the same profile name on both systems.)*FRCSIGNON: The user ID and password are ignored. The user sees the Sign On display. This is the shipped default.- A program name and library: The program runs at the start and end of every pass-through session. Telnet treats this as
*FRCSIGNON.
The system checks the password before any Telnet exit program runs. A registered Telnet exit program can still allow or deny the session, and can override the QRMTSIGN setting for a given requester, for example by IP address. It can also assign a user profile or a device description.
Why you still see the Sign On display
- The setting is
*FRCSIGNONor*REJECT. - The client did not send a user ID and password. Sending them depends on the client and how it is set up.
- The password was not valid for the profile.
For the administrator
- Show the current value with
WRKSYSVAL SYSVAL(QRMTSIGN). Changing it needs*ALLOBJand*SECADMspecial authority, and the security system values must not be locked in SST. - Telnet passwords are not encrypted on a traditional (non-TLS) connection. They are only one-way hashed if the client and server negotiate TN5250E and exchange a hashed password. Use the Telnet TLS port to protect all traffic.
QMAXSIGNlimits sign-on attempts. IfQAUTOVRTis above 0, a client that fails to sign on can reconnect to a new virtual device, which multiplies the attempts available.