How can I find users that have the same OMVS GID or UID number?

Document ID : KB000025895
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:  

How can I find users that have the same OMVS GID or UID number?

Answer: 

The ACF2 SHOW OMVS command can display duplicate UID and GID values that belong to more than one user or group.

The ACF2 SHOW OMVS command allows for the display of z/OS UNIX System Services users and/or groups as well as duplicate UIDs and GIDs that are assigned to multiple users.

The DUPLICATES keyword can be used together with another keyword.

For example:

SHOW OMVS USERS(10)                      will show all users that have UID 10
SHOW OMVS USERS(10-100)                  will show all users that have UID values that are in the range 10 to 100.
SHOW OMVS USERS(1-2000) DUPLICATES       will show only duplicate UID values that are in the range 1 to 2000. 
SHOW OMVS GROUPS(1-2000) DUPLICATES      will show only duplicate GID values that are in the range 1 to 2000. 
SHOW OMVS DUPLICATES                     will show all duplicate UID and GID values 

Additional Information:

Details on the TSO, ACF SHOW command can be found in the CA ACF2 for z/OS Administration Guide in Chapter 1: Overview of CA ACF2 section 'USER Profile Records'.