HP3000-L Archives

August 1996, 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:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Wed, 21 Aug 1996 15:28:52 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
A few days ago there was a thread asking whether there was a way to prevent
stream files residing in account 'A' from login on and executing in account
'B'.
 
In my reply I included a sample UDC command that would intercept the
'stream' command and perform the needed account validation by reading the
'job' card of the stream file, extracting the account name in the 'job'
card and comparing it to the 'logon' account name.  The 'mpe/ix' code,
within the UDC file that is extracting the account name, is *missing* one
delimiter.
 
If any of you plan to use the supplied UDC command, you should change:
 
   if pos(STR(x__job_acct,x__len,1)," ,;") <> 0 then
 
TO:
   if pos(STR(x__job_acct,x__len,1)," ,;/") <> 0 then
                                        ^
to allow for the case where an account password is specified in the 'job'
card.
 
Regards
 
Paul H. Christidis

ATOM RSS1 RSS2