PreviousNext

Displaying Principal Information

Use the dcecp principal catalog and principal show commands to display information about principals. When you use the principal show command, you must supply the name of the principal to display. You can supply multiple principal names by enclosing them in braces and separating them with spaces.

To display all principals in the registry database in alphabetic order with names prefixed by the cell name, enter

principal catalog

To display all principals in the registry database in alphabetic order with names not prefixed by the cell name, enter

principal catalog -simplename

To display all attributes for a named principal, enter

principal show principal_name

To display all extended attribute instances attached to a principal, enter

principal show principal_name -xattrs

To display all regular attributes and all extended attributes for a principal, enter

principal show principal_name -all

The following example shows the principal catalog used with the -simplename option:

dcecp> principal catalog -simplename
bach
bin
brahms
britten
cell_admin
daemon
dce-ptgt
dce-rgy
mahler
nobody
root
uucp
cds-server
dcecp>

The following example shows the principal show command used to display information about the principal mahler:

dcecp> principal show /.:/mahler
{fullname {Gustav Mahler}}
{uid 30014}
{uuid 0000753e-f51f-2e0e-b000-0000c08adf56}
{alias no}
{quota unlimited}
{groups {{symphonists composers}}
dcecp>

All the information listed by the principal show command is information created when the principal was added to the registry, except the line for groups. This line lists the groups in which the principal is a member.