How can you list users (logonids) who are assigned to a specific OMVS GID or UID numeric value?
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.
- The following SHOW OMVS command list all groups assigned to GID 1:
? show omvs group(1)
-- OPENEDITION MVS DISPLAY -
-- OMVS GROUPS --
- The following SHOW OMVS command list all users assigned to UID 123:
? show omvs users(123)
-- OPENEDITION MVS DISPLAY --
-- OMVS USERS --
- Issue SHOW OMVS with no additional operands to get a list of all values.
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.