Retrieving a List of Principals
To generate a listing of principals, use the kadmin
list_principals
command, which requires the "list" privilege.
The syntax is:
list_principals [expression]
where expression is a shell-style glob expression that
can contain the characters *
, ?
, [
, and ]
.
All policy names matching the expression are displayed. The
list_principals
command has the aliases listprincs
,
get_principals
, and getprincs
. For example:
kadmin: listprincs test*
[email protected]
[email protected]
[email protected]
[email protected]
kadmin:
If no expression is provided, all principals are printed.