[Info-vax] OpenVMS funny with SSH

Arne Vajhøj arne at vajhoej.dk
Thu Apr 4 19:02:02 EDT 2024


On 4/4/2024 6:42 PM, Arne Vajhøj wrote:
> On 4/4/2024 6:12 PM, Single Stage to Orbit wrote:
>> On Thu, 2024-04-04 at 17:18 -0400, bill wrote:
>>> On 4/4/2024 4:59 PM, Single Stage to Orbit wrote:
>>>> Just noticed this when I used SSH to login:
>>>>
>>>> $ ssh alex at kakapo
>>>>
>>>>    Welcome to OpenVMS (TM) x86_64 Operating System, Version V9.2-2
>>>>
>>>>       Last interactive login on Thursday,  4-APR-2024 21:57:38.46
>>>>       Last non-interactive login on Wednesday, 17-NOV-1858
>>>> 00:00:00.00
>>>>
>>>> 1858???? :-D
>>>
>>>
>>> 17-NOV-1858 00:00:00.00
>>>
>>> Isn't that the start of the VMS epoch?
>>
>> It's odd because I checked and the date/time were correct. Not sure why
>> that happened.
> 
> I think it is what happens if the field is zero. So if there has been
> no non-interactive logins then I guess it is sort of as expected. If
> you submit a batch job as ALEX does it change to the time of the batch
> job?

$ type t.pas
[inherit('sys$library:starlet')]
program t(input,output);

var
    tzero : integer64;
    tstr : varying [255] of char;

begin
    tzero := 0;
    $asctim(tstr.length, tstr.body, tzero);
    writeln(tstr);
end.
$ pas t
$ link t
$ run t
17-NOV-1858 00:00:00.00

Arne





More information about the Info-vax mailing list