You need a Telnet Exit Program.
Google it. I know I've written two or three articles on how to do this
(code samples) over the years and probably others have too so you'll find
one pretty easy I'd think.
It's very easy to do the exit pgm for this but make sure you have everything
correct because it's also easy to screw it up and lock everyone out of
telnet.
TIP: Make sure you keep one or two sessions already logged on while you
test this because if you break it...you won't be able to log in from
anywhere...it will not affect you already active sessions though.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, March 16, 2012 2:29 PM
To: Midrange-L
Subject: Signon Panel - How to Prevent Access
I have system values set as:
QAUTOCFG = 0
QAUTOVRT = 0
Which, I thought, would prevent a telnet service, such as iSeries Access or
Telnet from a DOS command line, from gaining access to a System i. That is,
no signon panel, no login.
Obviously, that's not true (we're on V5R1). I was just working with a
purchasing guy. He already had iSeries Access installed but no PC5250
session configured. So, without thinking, I started the Create New Session.
My immediate thought was, as I intimated earlier, "This is going to blow
up." But it didn't. I got one of those generic QPADEVxxxx sessions.
I, also, got the QPADEVxxxx signon when I ran Telnet from a DOS command box.
Is there any system value or whatever that would prevent access to a signon
panel?
Jerry C. Adams
IBM i Programmer/Analyst
Some of the facts are true, some are distorted, and some are untrue. - U.S.
State Department spokesman
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.