Defining a user ID for the PAS
To access UNIX System Services data, the MainView for UNIX System Services product address space (PAS) must have superuser authority.
The PAS requires that a user ID be defined to the security system (such as IBM RACF) and assigned to the PAS STC by the security system’s facilities.
For RACF, update either the RACF started procedure table (ICHRIN03) or the STARTED class definition. The user ID that is assigned must have an OMVS segment with a home directory of / and UID=0 assigned.
Following is an example of how an OMVS segment might be defined for user MVUSSD:
DFLTGRP(OMVSGRP) OMVS(UID(0) HOME('/')
PROGRAM('/bin/sh')) NOPASSWORD
The NOPASSWORD option indicates that the user ID is a protected ID that cannot be used to enter the system by using a password or password phrase. The user ID will not be revoked due to invalid logon attempts.
If one of your loadlibs is not program controlled, you may get a JREnvDirty error message. You can check your PAS joblog to see if you're getting any ICH420I messages like the following:
ICH420I PROGRAM BBM9DACT FROM LIBRARY SYS1.BBI.BBLINK CAUSED THE ENVIRONMENT TO BECOME UNCONTROLLED.
BPXP014I ENVIRONMENT MUST BE CONTROLLED FOR DAEMON (BPX.DAEMON) PROCESSING.
You can add the PROGRAM CONTROL status to the library containing BBM9DACT by using the following RACF commands:
SETROPTS WHEN(PROGRAM) REFRESH
Alternatively, you can also bypass the module access checking from USS for non-USS datasets (regular load libraries).
Though this approach reduces the security for these modules, access to the profile that allows this is controlled. It can be implemented as follows:
PERMIT BPX.DAEMON.HFSCTL CLASS(FACILITY) ID(pas_userid) ACCESS(READ)
Related topic