Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ucbvax!cernvax.UUCP!paul From: paul@cernvax.UUCP.UUCP Newsgroups: mod.computers.vax Subject: Submission for mod-computers-vax Message-ID: <8702051713.AA27696@cernvax.UUCP> Date: Thu, 5-Feb-87 12:13:56 EST Article-I.D.: cernvax.8702051713.AA27696 Posted: Thu Feb 5 12:13:56 1987 Date-Received: Sat, 7-Feb-87 15:38:43 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 68 Approved: info-vax@sri-kl.arpa Path: cernvax!paul From: paul@cernvax.UUCP (paul) Newsgroups: mod.computers.vax Subject: What does $RUN/AUTH actually do? (VMS) Keywords: VMS Message-ID: <433@cernvax.UUCP> Date: 5 Feb 87 17:13:54 GMT Organization: CERN, Geneva, Switzerland Lines: 58 What does $RUN/AUTH actually do? (VMS) I am trying to initiate a detached process when logged in as myself. I want the process to behave as if SYSTEM actually detached it. With $RUN/AUTH/UIC=[1,4] the /uic unfortunately seems to be ignored and the process gets detached with my uic. The log file shows a DCL trace of it executing my personal login.com. Finally (and what matters) the process happens to run a program which calls lib$spawn. This works, the subprocess gets spawned (and sends me a mail). Now, with RUN/NOAUTH the original detached process is created detached as before, but with UIC [1,4] as specified in the /UIC qualifier. Great, that's what I wanted! The log file shows a DCL trace of it executing sylogin.com (but not my login.com). Unfortunately my call to lib$spawn fails and I don't know why. I'm not even sure how to find out... SO: What is the behaviour of /AUTH and /NOAUTH. What's going on? Awaiting your kind revelations: Paul Burkimsher paul@crvxdev.BITNET paul%cern.vxdev@uk.ac.ucl.cs (Janet) ..!mcvax!cernvax!vxdev!paul (UUCP) paul@vxdev.cern (Cern) Cern, Geneva, Switzerland ----------------------- For your further info: The RUN command looks like this: $! initiate_decoder.com $! Create a detached process with a CLI in it. $! Request it to run the emu_decoder $! $run - /noauth - /input='emu_root'[decoder]emu_decoder.com - /output='emu_root'[decoder]'node'emu_decoder_output.log - /error='emu_root'[decoder]'node'emu_decoder_errors.log - /proc="Emu_Decoder" - /uic='emu_uic' - /priv=( - oper, - tmpmbx - ) - - !and now the exe file name to actually run! sys$system:loginout.exe ------------------------- where emu_decoder.com contains (among other things) $run emu_decoder.exe