Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!decwrl!ucbvax!info-vax From: XBR1YD14@DDATHD21.BITNET (YD14@BR1.THDNET) Newsgroups: mod.computers.vax Subject: Logical name problem Message-ID: <8601311334.AA15531@ucbvax.berkeley.edu> Date: Fri, 31-Jan-86 08:35:39 EST Article-I.D.: ucbvax.8601311334.AA15531 Posted: Fri Jan 31 08:35:39 1986 Date-Received: Sat, 1-Feb-86 03:19:17 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 48 Approved: info-vax@sri-kl.arpa I'm starting a command procedure as a subprocess PROGRAM PRIVPROC INTEGER STATUS,SYS$CREPRC STATUS = SYS$CREPRC( , ! PID * 'SYS$SYSTEM:LOGINOUT.EXE' , ! Image * 'WORK:[YD14]TEST.COM' , ! SYS$INPUT * 'TEST.OUT' , ! SYS$OUTPUT * 'NL:' , ! SYS$ERROR * , ! Privilegien * , ! Quotas * 'A' , ! Procname * , ! Prioritaet * , ! No Uic * , ! No Term.-Mbx * ) ! No Sts WRITE(*,*) STATUS END Program PRIVPROC is installed with "/EXEC/PRIV=CMKRNL" WORK01:.EXE PRIVPROC;4 Open Prv Xonly Entry access count = 3 Current / Maximum shared = 1 / 1 Privileges = CMKRNL The procedure is executed with CMKNRL privilege. So an unprivileged user can execute a special procedure with CMKRNL. But with $ DEFINE /JOB SYS$SYSTEM MYDISK:[MYDIR] it's possible to redefine SYS$SYSTEM and instead of SYS$SYSTEM:LOGINOUT.EXE the user activates MYDISK:[MYDIR]LOGINOUT.EXE with CMKRNL. Under VMS V3.x the problem was solved by specifying _DRA0:[SYSEXE] instead of SYS$SYSTEM. But since V4.x this doesn't work. So my question is: How can I start a special image as an subprocess without the possibilty of redefining the image name by an logical name? Reinhard Goeth (Techn. Univ. of Darmstadt) BITNET: XBR1YD14@DDATHD21 ARPA: XBR1YD14%DDATHD21.BITNET@WISCVM.WISC.EDU