Subject: | |
From: | |
Reply To: | Emerson, Tom |
Date: | Fri, 27 Aug 2004 11:56:13 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> -----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 *
|
|
|