How to List All Users With uxconsole
search cancel

How to List All 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) CA Privileged Access Manager (PAM)

Issue/Introduction

When the following command run in an attempt to list all UNAB users, a usage error occurs. Is it possible to list all UNAB users with one command?

# uxconsole -manage -show -detail -user *

CA Privileged Access Manager Server Control UNAB uxconsole v12.81.0.1912 - console utility
Copyright (c) 2018 CA. All rights reserved.

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. 

Environment

UNIX Authentication Broker 12.8

Resolution

It is possible to list all users with the following logic.

for u in {{a..z},{A..Z},{0..9}}; do uxconsole -manage -show -detail -user $u*; done