Unable to show all UNAB users with uxconsole
search cancel

Unable to show all UNAB users with uxconsole

book

Article ID: 204106

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Access Manager (PAM)

Issue/Introduction

When running the uxconsole command with the following syntax in an attempt to show the details for all UNIX Authentication Broker (UNAB), a usage error occurs. What is the proper syntax to achieve this use case?

# uxconsole -manage -show -detail -user *

Usage: uxconsole -manage {-find | -show [-detail]} {-user <filter> | -group <filter>} 
       uxconsole -manage -show -policy 
 Where:
     -find            List users/groups. 
     -show            Display users/groups/policy information. 
     -show -detail    Display users/groups extended information. 
     -user  <filter>  Apply to users matching the filter. 
     -group <filter>  Apply to groups matching the filter. 
     -policy          Apply to enterprise login policies. 

Resolution

A wildcard cannot be used by itself in the uxconsole command, but can be used as part of a string (a*, b*, c*, etc). Use the following command to run the search all users in UNAB.

[root@linux-example]# for u in {{a..z},{A..Z},{0..9}}; do uxconsole -manage -show -detail -user $u*; done