[Info-vax] Sharing a BG device with another user process

Jeffrey H. Coffield jeffrey at digitalsynergyinc.com
Fri Dec 20 10:32:09 EST 2013


I am reviewing the code in our JDBC driver for RMS and feel that I am 
missing something in the log in sequence. I have a listener process that 
accepts a network connection, authenticates the username/password and 
starts a detached network process under the users account. The problem 
(I think) is that in order for the server process running under the 
users account to assign a channel to SYS$NET, I have to install the 
server image with SHARE privilege. Otherwise I get a SYSTEM-W-DEVALLOC 
error on the assign.

It is important that the server run in the context of the user as our 
driver provides a method to read logicals and symbols set in the users 
LOGIN.COM.

Is there a "correct" way to do this (like FTP or Telnet)? I realize that 
some of the code is undocumented.

TIA,
Jeffrey Coffield
www.digitalsynergyinc.com



More information about the Info-vax mailing list