PreviousNext

keytab show

Returns an attribute list of the key table entries specified in the argument. The syntax is:

keytab show keytab_name_list [-entry] | -members]
[-keys] [-ktname
residual_keytab_name] [-noprivacy] [-local]

Options

-entry
Only the configuration information that dced keeps is deleted, not the actual key table.

-members
Specifies to return only the data attribute of each entry.

-keys
Returns the actual values of keys.

-noprivacy
Specifies that key tables are sent over the network unencrypted.

-ktname residual_keytab_name
Specifies the keytab object for which to list entries. If you use this option, you must specify keytab_name_list as a string binding. See Arguments for more information about specifying a string binding for keytab_name_list.

-local
Specifies that the show operation operates on local files only.

Description
The keytab show operation returns an attribute list of the key tables specified in the argument. The argument is a list of names of key tables. If the operation is called without the -entry option, the data attribute is not returned. If the optional -members option is given, only the value of the data attribute is returned (a list of keys). Keys are not normally returned unless the -keys option is used. If the argument is a list, the output is concatenated and a blank line inserted between key tables. The -ktname option is used to identify the specific key table to operate on, but only when the argument is a string binding representing a key table, not the fully qualified key table name.

Privileges Required
You must have r (read) permission to the keytab object on the host.

Examples
The following example shows the key types and versions in the radiology key table on host medusa for member melman.

dcecp> keytab show /.:/hosts/medusa/config/keytab/radiology -members
{melman des 1}
{melman plain 3}
{pwang des 2}
dcecp>