From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a2d4cbc5cb5fc077 X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.com (Stephen Hoffman) Subject: Re: How do I create a network server process Date: 1995/09/01 Message-ID: <4271gh$bla@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 109306967 distribution: world references: <1995Aug31.140147.17@news.wcg.co.uk> organization: Digital Equipment Corp reply-to: hoffman@xdelta.enet.dec.com (Stephen Hoffman) newsgroups: comp.sys.dec In article <1995Aug31.140147.17@news.wcg.co.uk>, Simon Howden writes: :Does any one know how DECnet creates its network server :processes. What parameters does it pass to CREPRC to get it to :create the process as another user, or does it use some other :underhanded mechanism ? What can you put in the undocumented :13th parameter itmlst ? : :I need to be able to create a process as another user with the :mode of network ? Has anyone done this before ? Under V6.2, it's easy to switch user personnas on the fly -- there are (documented) system services to do this. Two of the supported ways -- ways that do not depend on the personna services -- to create a process under another username are via DECnet task-to-task, and via the SUBMIT/USER ($sndjbc) command. I would generally avoid kernel-mode attempts at changing the username. The simple case is relatively easy to get right, but more complete emulations of the target username and OpenVMS upgrades become rather more tedious... (I wrote one of these user-emulators for a customer request, and it became obnoxious to support it across releases...) The (undocumented) itemlist argument is not relevent to resolving this particular situation. ------------------------------ Opinionative ------------------------------- Stephen Hoffman OpenVMS Engineering hoffman@xdelta.enet.dec.com ---------------------------------------------------------------------------