[Info-vax] Force SFTP to run LOGIN.COM or equivalent

Bob Gezelter gezelter at rlgsc.com
Thu Feb 10 23:29:15 EST 2022


On Wednesday, February 9, 2022 at 5:40:36 PM UTC-5, Kenneth Randell wrote:
> OpenVMS 8.4, TCP/IP 5.7 ECO 5 
> 
> Is there a way to force the SFTP server to execute a LOGIN.COM (or even SYS$SYLOGIN) for that matter? 
> 
> When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE. 
> 
> When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored. 
> 
> Am I missing something obvious? 
> 
> Thanks
Kenneth,

You may be remembering the DECnet Remote File Access mechanism, and the associated utilities.

A "NETWORK" login does result in running the SYLOGIN and other LOGIN scripts, hence the presence of the F$MODE conditionalization in the standard template files.

And yes, those using the mechanism also often use it to define all sorts of logical names.

I have not tried it, but if your entire group is using the same basic logical names, putting them in the GROUP logical name table might do the trick. I would experiment, but am on a bit of a deadline at the moment.

- Bob Gezelter, http://www.rlgsc.com



More information about the Info-vax mailing list