OMVS SU Command and Directory Owner
search cancel

OMVS SU Command and Directory Owner

book

Article ID: 373086

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

When a user/acid logs into OMVS and create a directory under their account, the directory is owned by that userid.  When a user issues SU to become a superuser and then creates a directory, the directory is owned by another acid with superuser access.  Why would a directory be created under another superuser, when the acid creating the directory is also a superuser? 
ESM is Top Secret.

Resolution

When an acid issues SU to become a SUPERUSER, they are using a UID that is given to multiple acids.  Within OMVS there is a UID table in storage.  When an acid issues SU, OMVS goes to the UID table and assigns the first acid in the list that has that UID. A SUPERUSER would have a UID of 0.  The in storage UID table is sorted by UID number and ACID.  If there are ten ACIDs USRACID0 - USRACID9 that are assigned UID 0 the first acid in the list would be USRACID0.