HP3000-L Archives

April 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Thu, 5 Apr 2001 22:30:10 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
>Some of our users open many session on our HP3000 (up to 11 !!!).
>I want to limit the sessionnumber up to 2 or 3 from one PC with a
>reflectio-login-script.

While I don't know how to due this with Reflection emulator tricks,
I'd probably try something in their logon UDC that uses LISTF,8 on
a common program like CI.PUB.SYS and greps for the client's IP addr
to count how many times it is already shown...

 :listfile ci.pub.sys,8 > $newpass
 : /bin/grep "' !hp_rem_ip_addr$'" < $oldpass > $newpass
 :if finfo($oldpass, "eof") >= 3 then
 :  echo You will catch a cold with so many open windows ;-)
 :  bye
 :endif

This assumes that you're not using NEWCI to launch applications
as NEWCI would make the clients' IP address no longer show up on
the CI.PUB.SYS program usage.

Lars.


PS... I haven't tried above commands, they might need tweaking.

* To join/leave the list, search archives, change list settings, etc *
*     please visit http://raven.utc.edu/archives/hp3000-l.html       *

ATOM RSS1 RSS2