Deutsch English Français Italiano |
<v8p49e$26ks$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!npeer.as286.net!npeer-ng0.as286.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Chris Townley <news@cct-net.co.uk> Newsgroups: comp.os.vms Subject: Re: Viewing SSH users on VMS Date: Mon, 5 Aug 2024 00:53:17 +0100 Organization: A noiseless patient Spider Lines: 30 Message-ID: <v8p49e$26ks$1@dont-email.me> References: <v83b3h$3c2fu$1@dont-email.me> <2514103b32edfa920a8a58d8069041581d79024c@i2pn2.org> <a21df4f5be6d6f8ced9f81df9c69fb872550c6a8@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 05 Aug 2024 01:53:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a3643dc5b812600802c3b49da1a9a708"; logging-data="72348"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HgFqcPv/Ud0BGrJ9OFObbqU1heMdW6Ek=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:jrU92c9XfA26XKZB6zy/G9NLTwY= In-Reply-To: <a21df4f5be6d6f8ced9f81df9c69fb872550c6a8@i2pn2.org> Content-Language: en-GB Bytes: 2304 On 04/08/2024 23:33, David Jones wrote: > 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=sharing > >>> Dave Thanks, I will take a look -- Chris