You can also setup an initialization user exit in the AS/400 telnet server.
There is a very good user exit program that you can use on the IBM iSeries web
site(on www.iseries.ibm.com searcb for telnet user exit).  The setup in the
mapping file can be coded with the ip address of your terminal server and using
wild card for device name(ACCT*) to use a device name starting with ACCT.
Richard Hartmann
IBM iSeries development
----- Original Message -----
From: "Egan, Matt B. (Artco)" <mbegan@artco.zgate.com>
To: "'linux5250@midrange.com'" <linux5250@midrange.com>
Date: Fri, 31 Aug 2001 16:32:23 -0500
Subject: [LINUX5250] limiting number of open sessions
Reply-To: linux5250@midrange.com

Is there anyway to limit the number of open TN5250 windows a user can have
open? I know that there are limitations you can apply on the 400 but in my
case that won't work. I'm running a terminal Server (www.ltsp.org) and so
every thing shows that it is coming from that server. anyway if you can
think of or know of a way to limit the number sessions running i would be
much abliged.

Thanks
Matt Egan

--__--__--

Message: 2
From: Martin Rowe <martin@dbg400.net>
Organization: Jamaro
To: linux5250@midrange.com
Subject: Re: [LINUX5250] limiting number of open sessions
Date: Sat, 1 Sep 2001 13:39:10 +0100
Reply-To: linux5250@midrange.com

On Friday 31 August 2001 10:32 pm, Egan, Matt B. (Artco) wrote:
> Is there anyway to limit the number of open TN5250 windows a user can
> have open? I know that there are limitations you can apply on the 400
> but in my case that won't work. I'm running a terminal Server
> (www.ltsp.org) and so every thing shows that it is coming from that
> server. anyway if you can think of or know of a way to limit the number
> sessions running i would be much abliged.
>
> Thanks
> Matt Egan

How about setting the env.DEVNAME variable in .tn5250rc. That way only
the one session with that name can be running. I have this for my work
sessions and for my netshare account from home, as it has the advantage
of grabbing the same SQL session too. I don't know how feasible this is
for your lts, but it might be worth a try. It does involve setting
individual menu options/icons, though (sesion 1, session 2, etc).

Regards, Martin
--
martin@dbg400.net / jamaro@firstlinux.net
http://www.dbg400.net  DBG/400 - DataBase Generation utilities
Open Source test environment tools for the AS/400 / iSeries and
miscellaneous database & spooled file management commands.


--__--__--



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].