T.R | Title | User | Personal Name | Date | Lines |
---|
3672.1 | no help but same observation | SUOSWS::HAMANN | | Fri Dec 17 1993 08:26 | 8 |
| Hi,
I cannot help but notice the same problem.
The subprocess cannot even run with the debugger in a seperate process.
There is a lot broken with the OA$SCRIPT queue!
Klaus
|
3672.2 | | AIMTEC::SIMPSON_L | | Fri Dec 17 1993 18:09 | 18 |
| Hi again,
Some more info and questions.
Could it be that when running the test script and comm file I showed in .0
that the Script Symbiont is checking the user's privs of the account which
submitted to it instead of the privs it is installed with?
I checked to see what the Oa$script_symbiont.exe, Imp$impshr.exe and
Imp$impshrp.exe images were installed with. They appear to be correct. In
fact, the Oa$script_symbiont.exe is installed with sysprv, one of the three
which will make it work from the user's account.
Any thoughts/comments?
Thanks very much,
Laurie
|
3672.3 | Isn't that the way it works? | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Tue Dec 21 1993 12:15 | 14 |
| The script symbiont uses all of its privileges only in order to pretend
to be the person it is running the script for. It pretends to be that
person very accurately, including only allowing itself to have that
users privileges. If it didn't do this, then I could submit a script
that said GET OA$DCL="DELETE SYS$SYSTEM:*.*.*", which wouldn't be a
good idea!
I think that the problem must be that the script you are trying to
execute can't be seen by the symbiont, or the user. Does it have W:RE?
Also, note that the user's LOGIN.COM isn't run, so any locally defined
symbols or logicals aren't available.
Graham
|
3672.4 | Equally, no help | IOSG::ALLAN | Derek, DTN 830-3669 | Tue Dec 21 1993 14:01 | 20 |
| Hi,
There's nothing wrong with the installation of the script symbiont, it
fails in the same way you describe on our system too.
I can't see what's wrong. I notice that one can create a detached process
via the same method, but not a sub-process.
No doubt the SYSTEM-F-NOPRIV is being returned by the DCL SPAWN's indirect
call to SYS$CRPRC, but the VMS documentation is not very helpful on
the subject of which circumstances could lead to NOPRIV being returned.
Sorry, but it looks like a restriction for now: You can't a spawn sub-process
from ALL-IN-1's OA$DCL process when running in the script symbiont.
As a workaround you could submit ALL-IN-1 to batch, and run ALL-IN-1
/noinit to execute the script. It's not as efficient, but it works.
Cheers,
Derek
|
3672.5 | | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Tue Dec 21 1993 14:33 | 6 |
| re .3
I think I was replying to .2 in isolation, and not having read .0 and
.1, so please ignore me!
Graham
|