How can you list users (logonids) who are assigned to a specific OMVS GID or UID numeric value?
search cancel

How can you list users (logonids) who are assigned to a specific OMVS GID or UID numeric value?

book

Article ID: 26274

calendar_today

Updated On:

Products

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

Issue/Introduction

How can you list users (logonids) who are assigned to a specific OMVS GID or UID numeric value?

 

 

Environment

Release: ACF2..001AO-16-ACF2
Component:

Resolution

The ACF2 SHOW OMVS can be used to display z/OS UNIX System Services users and/or groups. This displays the numeric UID value assigned to users (logonids) and the numeric GID value assigned to groups (group names). The logonid record of a users shows the (initial) group assigned to the user. Note that users may be able to change to group value when they logon. (Type TGR resource rules validate whether or not a user can specify that group name.) If the logonid record does not have a group specified, and the user does not specify a group at logon time, then the default OMVSGRP will be assigned.

The syntax of the SHOW command is as follows.

SHOW OMVS[ALL|GROUPS(mmmm[nnnn])|SUPERUSERS|USERS(mmmm[nnnn])]Duplicates]]

Examples:

  1. The following SHOW OMVS command list all groups assigned to GID 1:
    ?  show omvs group(1)
                                
    -- OPENEDITION MVS DISPLAY -
                                                            
        -- OMVS GROUPS --
                                
          GID        NAME
     ------------- --------
                                
     1             OMVSGRP
     1             TESTGRP
  2. The following SHOW OMVS command list all users assigned to UID 123:
    ?  show omvs users(123)
                                  
    -- OPENEDITION MVS DISPLAY --
                                                                
        -- OMVS USERS --
                              
          UID        NAME
     ------------- --------
                                  
     123           USER1
     123           USER2
     123           USER3
  3. Issue SHOW OMVS with no additional operands to get a list of all values.

 

 

 

Additional Information

Detailed information of the SHOW OMVS command can be found in the chapter on "z/OS UNIX System Services Support" of the CA ACF2 for z/OS Administrator Guide.