search cancel

Why are users no longer allowed default OMVS access when the default OMVSUSER logonid is accidentally deleted and then immediately re-inserted?

book

Article ID: 42157

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC

Issue/Introduction

Question:  

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.

Answer: 

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.

 

Examples:

(all in one insert command)

 

SET LID

INSERT OMVSUSER NAME(OMVS DEFAULT USERID) UID(99999999) HOME(/) OMVSPGM(/bin/sh)

 

or (as 2 separate insert commands)

 

SET LID

INSERT OMVSUSER NAME(OMVS DEFAULT USERID)

 

SET PROFILE(USER) DIV(OMVS)

INSERT OMVSUSER UID(99999999) HOME(/) OMVSPGM(/bin/sh)

 

Environment

Release:
Component: ACF2MS