PreviousNext

Displaying keytab Information

Use the dcecp keytab catalog, keytab list, and keytab show commands to display information about accounts. When you use the keytab catalog command, you must supply the name of the host for which to display keytab files. When you use the keytab list or keytab show command, you must supply the name of the dced object for which to display keytab information. You can supply multiple names to either command by enclosing them in braces and separating them with spaces.

To display the names of all keytab files on a specified host with names prefixed by the cell name, enter

keytab catalog host_name

If you do not supply host_name, the display lists keytab files on the current host.

To display the names of all keytab files on a specified host with names not prefixed by the cell name, enter

keytab catalog host_name -simplename

To display a list of all principals for which there are entries in a specified keytab file, enter

keytab list file_name

To display all principals for which there are entries in a named keytab file, enter

keytab show file_name

The information displayed includes only the principal name.

To display the local names of a specified key file, enter

keytab show dced_object_name -entry

To display all entries in a key file, including the keys, enter

keytab show dced_object_name -members

The following example shows the entries in the keytab file named svr_3:

dcecp> keytab show /.:/hosts/music/config/keytab/svr_3 -members
{brahms des 1}
{britten plain 3}
{mahler des 2}
dcecp>