[Info-vax] OpenVMS V9.2-1 Password policy

Arne Vajhøj arne at vajhoej.dk
Sat Jul 22 10:56:37 EDT 2023


On 7/22/2023 10:23 AM, Single Stage to Orbit wrote:
> On Sat, 2023-07-22 at 10:08 -0400, Arne Vajhøj wrote:
>>> Thought I mentioned the version earlier in the thread but it's this
>>> one: VSI-X86VMS-CXX-A1000-230616-1.ZIP right off VSI Portal.
>>
>> Even more weird.
>>
>> It is the same I have.
>>
>> Maybe time for the "windows solution" aka remove and install
>> again??
> 
> The plot thickens even more.
> 
> Booted up OpenVMS and found this:
> 
>    dir sys$common:[vsicxx$lib.include.sys$starlet_c]pthread.h
> 
> Directory SYS$COMMON:[VSICXX$LIB.INCLUDE.SYS$STARLET_C]
> 
> PTHREAD.H;2         PTHREAD.H;1
> 
> Total of 2 files.
> 
> TWO?!
> 
> My gods, are they .. BREEDING?!
> 
> A quick purge later and then:
> 
> Alex (KAKAPO) > dir
> sys$common:[vsicxx$lib.include.sys$starlet_c]pthread.h
> 
> Directory SYS$COMMON:[VSICXX$LIB.INCLUDE.SYS$STARLET_C]
> 
> PTHREAD.H;2
> 
> Total of 1 file.
> Alex (KAKAPO) > type/page
> sys$common:[vsicxx$lib.include.sys$starlet_c]pthread.h
> %TYPE-W-OPENIN, error opening
> SYS$COMMON:[VSICXX$LIB.INCLUDE.SYS$STARLET_C]PTHREAD.H;2 as input
> -RMS-E-PRV, insufficient privilege or file protection violation
> 
> 
> Alex (KAKAPO) > cxx quick2.cpp
> In file included from DKA0:[USERS.ALEX.CPROGS]QUICK2.CPP;1:1:
> In file included from
> /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/iostream:42:
> /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/__config:1132:46: fatal
> error: cannot open file '/SYS$COMMON/VSICXX$LIB/INCLUDE/SYS$S
> TARLET_C/pthread.h': permission denied
>        (defined(__MINGW32__) && __has_include(<pthread.h>))
>                                               ^
> 1 error generated.
> 
> 
> I guess we're exactly the same now. I wonder what security is set on
> that header ...
> 
> Alex (KAKAPO) > show sec
> _Object name: sys$common:[vsicxx$lib.include.sys$starlet_c]pthread.h
> %SHOW-F-READERR, error reading
> SYS$COMMON:[VSICXX$LIB.INCLUDE.SYS$STARLET_C]PTHREAD.H;2
> -SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
> 
> Hmm, locked me out it has. Ok let's try as SYSTEM.
> 
> $ sh sec sys$common:[vsicxx$lib.include.sys$starlet_c]pthread.h
> 
> SYS$COMMON:[VSICXX$LIB.INCLUDE.SYS$STARLET_C]PTHREAD.H;2 object of
> class FILE
>       Owner: [SYSTEM]
>       Protection: (System: RWED, Owner: RWED, Group: RE, World)
>       Access Control List: <empty>
> 
> Wunderbar. The installer for the CXX isn't setting the appropriate
> security on headers. Something for VSI to fix. :-D

If you look at the VSI forum thread then VSI has promised to fix it.

But until then:

$ set prot=(w:re) sys$common:[vsicxx$lib.include.sys$starlet_c]*.h

Arne




More information about the Info-vax mailing list