[Info-vax] Viewing SSH users on VMS

Mark Daniel mark.daniel at wasd.vsm.com.au
Sat Jul 27 19:40:05 EDT 2024


On 28/7/2024 08:29, Chris Townley wrote:
> On 27/07/2024 21:54, Craig A. Berry wrote:
>>
>> On 7/27/24 12:34 PM, Chris Townley wrote:
>>> On AXP ssh uses show as FT terminals, and the source can be seen, and 
>>> accessed using the DVI code TT_ACCPORNAM. for example on AXP I see:
>>>
>>> $ sh u /f/i
>>>        OpenVMS User Processes at 27-JUL-2024 18:24:48.74
>>>      Total number of users = 2,  number of processes = 2
>>>
>>> Username  Process Name       PID     Terminal
>>> SYSTEM    SYS_SYSTEM_01    0000012B  OPA0:
>>> TOWNLEYC  CCT_TOWNLEYC_01  0000012A  FTA1:(ssh/merlin.fritz.box:50407)
>>>
>>> However on X86 TT_ACPORNAM is blank, and I can find no method of 
>>> seeing where they come from. OK it is probably me as it is always 
>>> local, so it is perhaps not that important. But I do like a challenge!
>>>
>>> Currently I just see:
>>>
>>> 1 $ sh u /f/i
>>>        OpenVMS User Processes at 27-JUL-2024 18:29:41.86
>>>      Total number of users = 2,  number of processes = 5
>>>
>>>   Username  Process Name      PID     Terminal
>>>   SYSTEM    SYSTEM          00000431  OPA0:
>>>   TOWNLEYC  FTA12_TOWNLEYC  0000044C  FTA12:
>>>   TOWNLEYC  FTA13_TOWNLEYC  0000044E  FTA13:
>>>   TOWNLEYC  FTA14_TOWNLEYC  00000450  FTA14:
>>>   TOWNLEYC  TOWNLEYC        00000448  FTA11:
>>>
>>> Any ideas how I could get this information?
>>>
>>
>> I don't know, but I suspect the difference is OpenSSH versus the old
>> TCP/IP services SSH rather than platform.
> 
> Possibly. Actually my AXP instance uses TCPWare, but I distinctly 
> remember using  TCP/IP Services on I64 at work, and on my AXP machine 
> here before I upgraded to the VSI version. The odd one out is definitely 
> X86

WASD's DCLinabox does this on (VSI) Alpha and Itanium.

Quoted to circumvent wrapping:

> https://wasd.vsm.com.au/cgi-bin/liner/wasd_root/src/dclinabox/dclinabox.c#78
> https://wasd.vsm.com.au/cgi-bin/liner/wasd_root/src/dclinabox/dclinabox.c#2814
> https://wasd.vsm.com.au/cgi-bin/liner/wasd_root/src/dclinabox/dclinabox.c#2868

Does NOT WORK under:

X86VMS$ cc/version
VSI C x86-64 V7.5-009 (GEM 50XBR) on OpenVMS x86_64 V9.2-2

Perhaps some x86 VMS infrastructure missing, DCLinabox code revision 
needed, ... ?  (Apart from this haven't delved in inner modes at all.)

-- 
Anyone, who using social-media, forms an opinion regarding anything 
other than the relative cuteness of this or that puppy-dog, needs 
seriously to examine their critical thinking.




More information about the Info-vax mailing list