HP3000-L Archives

October 2000, 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:
"Emerson, Tom # El Monte" <[log in to unmask]>
Reply To:
Emerson, Tom # El Monte
Date:
Tue, 3 Oct 2000 14:24:21 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
> -----Original Message-----
> From: DeLisa DeVee [mailto:[log in to unmask]]
>
> We  need to limit certain users to one session.  We are exceeding our
> session limit for our software application (MACS). Our HP
> users license
> is not a problem.  If we could limit specific user one
> session  it would
> eliminate our problem.  We are using operating system 5.5.7.
>
> Does anyone have any suggestions?

There are "commercial" solutions: VEsoft's Security/3000 has an option to
limit logons in a variety of ways.  SAF/3000 I believe will do this as well.
[there might even be a contributed library solution, but I haven't checked
with that for a long time now]

> I found the below job at
> http://www.denkor.com/hp3000/command_files/XEQs/onelogon.txt
>
> Can someone explain to me exactly what this job would do or offer any
> possible solution to our problem?

The purpose of this section of code is to check, at the time someone logs
on, how many "other" users are already logged on "the same way".  If over a
certain limit (1, in this example), then the the "bye" command is executed
causing the session to log off before any "application" level programs start
up.  [i.e., your "menu"]

> # onelogon.xeq - Paul H. Christidis
> #
> # when used within an 'option logon' udc, this routine will
> # prevent more than one logon per user/account combination.
>
> if hpjobtype = "S" then
>   setvar __oldmsgfence hpmsgfence
>   setvar hpmsgfence 2
>   tell !hpjobname,!hpuser.!hpaccount Someone is using your signon.
>   if cierror <> 1620  then
>     echo * Duplicate logons are not allowed..
>     bye
>   endif
>   setvar hpmsgfence __oldmsgfence
>   deletevar __oldmsgfence
> endif
>
> Thanks in advance,
>
>
> DeLisa DeVee
> Operation Administrator
> Musician's Friend
>

ATOM RSS1 RSS2