Hi,
You can use MPEX from VESOFT to do something like :
repeat
extract account and group from and creator from : !MPEXCURRENTFILE
chlogn to account , possible problem is :creator does not exists as
a valid user ,
run your_program.pub.sys
forfiles @[log in to unmask]@(intcode=-400)
Michael wrote:
I looking for some advice, or to be pointed in the right direction, to
solve a particular Image DBOPEN/Security Issue.
My task is: To write a program that will run as MANAGER.SYS(PM MODE),
and find all Image Database on the System, in every account. Then open
each one, and using DBINFO, build a report of all Search Items, and all
Sort Items, in every Database.
My problem is: How am I going to open databases that exist in other
accounts, with MPE Security in the way, and not knowing the Image
Password?
My first thoughts were to use FLABELINFO to get the creator of the ROOT
FILE, and then use an AIF call to become that USER, then call DBOPEN
using ";" as the password.
Does anyone have any experiences with similar solutions, or know of any
reason that this won't work?
I don't have an AIF manual with me, because I am working from a remote
site. Monday I will drive into work and look at the manual, searching
for the particular AIF call that will do this. To save me some time,
does anyone know the name of the routine, an possibly a brief
explanation of the required parms?
All help will be very appreciated,
Thanks,
Michael Anderson.
-----------------------------------------------------------------------------
Contractor, Working in behalf of:
TIW Corporation.
TIW:(713) 729-2110 Ext: 116
|