Sorry, they were not. How could they be when TCP/IP still had to be invented? Moreover, many used HW that was physically incompatible with the low levels of the OSI model (the physical layers couldn't even connect).
A well designed modern network architecture is perfectly capable of providing a much higher level of security than any remotely-accessible system from the 80s or 90s.
The problem is the lack of that well-designed network architecture, not that modern technology somehow makes it inherently impossible to secure.
Or how there was an analog version of VOIP when IP didn't exist yet.
The systems they had were equivalent to the current systems, they just used different protocols other than TCP/IP (which hadn't been invented yet). They used modems and POTS to implement a long-distance serial line, that had an address (phone number) that anyone could dial into, and there's your attack surface.