Why are users no longer allowed default OMVS access when the default OMVSUSER logonid is accidentally deleted and then immediately re-inserted? The GSO UNIXOPTS record specifies the correct OMVS default user and group records.
When you delete an ACF2 logonid the associated OMVS User Profile record is also deleted automatically.
Make sure the OMVS User Profile record is also inserted, or ensure that the UID, HOME, and OMVSPGM fields are specified when the logonid is inserted.
(all in one insert command)
INSERT OMVSUSER NAME(OMVS DEFAULT USERID) UID(99999999) HOME(/) OMVSPGM(/bin/sh)
or (as 2 separate insert commands)
INSERT OMVSUSER NAME(OMVS DEFAULT USERID)
SET PROFILE(USER) DIV(OMVS)
INSERT OMVSUSER UID(99999999) HOME(/) OMVSPGM(/bin/sh)