Re: Viewing SSH users on VMS

Liste des GroupesRevenir à co vms 
Sujet : Re: Viewing SSH users on VMS
De : news (at) *nospam* cct-net.co.uk (Chris Townley)
Groupes : comp.os.vms
Date : 31. Jul 2024, 19:36:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8e089$1isug$2@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 31/07/2024 17:31, Chris Townley wrote:
<snip>

What I have discovered, which could make getting the parent PID unnecessary, is that a log file is created in SSH$ROOT:[VAR] named either
 <this_hostname>_<remote host or IP address>_<process_PID>.log
or
<remote host or IP address>_<process_PID>.log
 but unless the login fails, nothing is written.
 No idea why or when which form is used.
 Can I presume that a PID will be unique until a system reboot? If so I could delete/rename these logs at system startup, then look for the file, at least to get the remote node, and add to the process name.
 Otherwise maybe I cold hack the client startup to create a readable file with remote node and user?
 
Interestingly SYS$REM_NODE and SYS$REM_NODE_FULLNAME are both set to the remote IP address, but SYS$REM_ID is set to the local, not the remote username.
--
Chris

Date Sujet#  Auteur
27 Jul 24 * Viewing SSH users on VMS33Chris Townley
27 Jul 24 +* Re: Viewing SSH users on VMS17Craig A. Berry
27 Jul 24 i+* Re: Viewing SSH users on VMS14Arne Vajhøj
27 Jul 24 ii`* Re: Viewing SSH users on VMS13Lawrence D'Oliveiro
28 Jul 24 ii `* Re: Viewing SSH users on VMS12Arne Vajhøj
28 Jul 24 ii  `* Re: Viewing SSH users on VMS11Chris Townley
28 Jul 24 ii   `* Re: Viewing SSH users on VMS10Arne Vajhøj
28 Jul 24 ii    +* Re: Viewing SSH users on VMS8Craig A. Berry
28 Jul 24 ii    i`* Re: Viewing SSH users on VMS7Scott Dorsey
28 Jul 24 ii    i `* Re: Viewing SSH users on VMS6Craig A. Berry
29 Jul 24 ii    i  `* Re: Viewing SSH users on VMS5Lawrence D'Oliveiro
29 Jul 24 ii    i   `* Re: Viewing SSH users on VMS4Craig A. Berry
29 Jul 24 ii    i    +- Re: Viewing SSH users on VMS1Simon Clubley
29 Jul 24 ii    i    `* Re: Viewing SSH users on VMS2Hunter Goatley
29 Jul 24 ii    i     `- Re: Viewing SSH users on VMS1Lawrence D'Oliveiro
7 Aug 24 ii    `- Re: Viewing SSH users on VMS1Gary Sparkes
27 Jul 24 i`* Re: Viewing SSH users on VMS2Chris Townley
28 Jul 24 i `- Re: Viewing SSH users on VMS1Lawrence D'Oliveiro
31 Jul 24 +* Re: Viewing SSH users on VMS12David Jones
31 Jul 24 i`* Re: Viewing SSH users on VMS11Chris Townley
31 Jul 24 i `* Re: Viewing SSH users on VMS10Chris Townley
31 Jul 24 i  `* Re: Viewing SSH users on VMS9David Jones
31 Jul 24 i   +- Re: Viewing SSH users on VMS1Chris Townley
1 Aug 24 i   +- Re: Viewing SSH users on VMS1Dennis Boone
1 Aug 24 i   `* Re: Viewing SSH users on VMS6bill
1 Aug 24 i    `* Re: Viewing SSH users on VMS5Robert A. Brooks
1 Aug 24 i     `* Re: Viewing SSH users on VMS4bill
2 Aug 24 i      `* Re: Viewing SSH users on VMS3Lawrence D'Oliveiro
2 Aug 24 i       +- Re: Viewing SSH users on VMS1Dave Froble
2 Aug 24 i       `- DECNet, was: Re: Viewing SSH users on VMS1Simon Clubley
2 Aug 24 `* Re: Viewing SSH users on VMS3David Jones
4 Aug 24  `* Re: Viewing SSH users on VMS2David Jones
5 Aug 24   `- Re: Viewing SSH users on VMS1Chris Townley

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal