Sujet : Re: Viewing SSH users on VMS
De : osuvman50 (at) *nospam* gmail.com (David Jones)
Groupes : comp.os.vmsDate : 04. Aug 2024, 23:33:10
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <a21df4f5be6d6f8ced9f81df9c69fb872550c6a8@i2pn2.org>
References : 1 2
User-Agent : Mozilla Thunderbird
On 8/2/2024 11:52 AM, David Jones wrote:
... My goal now it to make a
privileged program that SYLOGIN runs that retrieves SYS$REM_NODE and sets
tt_accpornam.
I built an ssh_set_location program base around ft_accpornam.mar exported
functions (FTA_INITIALIZE(),FTA_SET_ACCPORNAM) and rewrote ft_accpornam in
C. There's no VAX support for the C version, but it's slightly incredible
that the same inner mode code works on both Alpha and x86_84 (the host I
use to test IA64 appears be down).
The location it reports is the login process's sys$rem_node translation.
It would be nice if I could get the port number. As I recall, unless a
BG device is marked SHARE, attempts to do I/O from anything but the
owner process immediately shuts down the connection.
As programs go, it's pretty short. If you want to inspect it, I've
made a zip file available on my google drive:
https://drive.google.com/file/d/1O90bqUEWTa6NnyIfLlkb05RvQwfQu9q4/view?usp=sharingDave