Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Chris Townley
Newsgroups: comp.os.vms
Subject: Re: Viewing SSH users on VMS
Date: Wed, 31 Jul 2024 19:36:57 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID:
References:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jul 2024 20:36:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3807d6f0a646f04e67d8331ec60859fa";
logging-data="1668048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BZnL9cVdtmfKZ35cicKcEdoVdekAzYLE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:K78aoWs7I9A0pM7+W0S/TPTp/QA=
Content-Language: en-GB
In-Reply-To:
Bytes: 2041
On 31/07/2024 17:31, Chris Townley wrote:
> 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
>
> __.log
> or
> _.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