HP3000-L Archives

August 2004, Week 4

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:
"Emerson, Tom" <[log in to unmask]>
Reply To:
Emerson, Tom
Date:
Fri, 27 Aug 2004 11:56:13 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
> -----Original Message-----
> Behalf Of Ray Sparks
> 
> We would like to limit our users to two concurrent sessions.  However,
> there is a list of folks that we don't want to limit.  I have tried
> messing around with the $FORBID and JSCOUNT but am not having 
> any luck.
> Does anyone know how to do this?  Also, is it possible to use an input
> file as a parm for JSCOUNT?

You might want to consider a "user-defined" field in the security profile.

in securcon:

    $USER-FIELD MAXLOGONS "Max conncurent logons for this user:"

and

    $FORBID "JSCOUNT(HPUSER+'.'+HPACCOUNT) > UF('MAXLOGONS')"
        "Too many sessions for you!"

[include "HPJOBNAME+','+" if you use session ID's, and possibly "&ONLINE" to avoid counting background jobs...]

then set "maxlogons" for your unlimited users to be some impossibly high number [such as the system maximum + 1]

check the security documentation for $USER-FIELD and the UF() function for details.

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

ATOM RSS1 RSS2