Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ucla-cs!zen!ucbvax!LBL.ARPA!nagy%warner.hepnet From: nagy%warner.hepnet@LBL.ARPA Newsgroups: comp.os.vms Subject: Executing commands under another account (Was "How to use $creprc") Message-ID: <870728113446.000@Lbl.Arpa> Date: Tue, 28-Jul-87 14:33:55 EDT Article-I.D.: Lbl.870728113446.000 Posted: Tue Jul 28 14:33:55 1987 Date-Received: Sat, 1-Aug-87 11:55:08 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 15 >The setup is as following: I am running a process from SYSTEM with all privs >and want to execute a DCL command from an unprivd account GUEST. How can I >... If all you want to do is execute a command under the GUEST account AND this does not need to be done interactively, then the simple solution is to submit a batch job with /USER=GUEST on the SUBMIT command. This will cause the batch job to run under the GUEST account exactly as if user GUEST had submitted the batch job him/herself. = Frank J. Nagy "VAX Guru" = Fermilab Research Division EED/Controls = HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY) = BitNet: NAGY@FNAL = USnail: Fermilab POB 500 MS/220 Batavia, IL @rlgv