Displaying credentials cache

The klist command displays the contents of a Kerberos credentials cache. You can also use the Display Credentials Cache File (DSPKRBCCF) CL command to display the entries in the local credentials cache.

klist command

To list all the entries in your default credentials cache and to show the ticket flags, choose one of the following options:
  • On a Qshell command line, enter klist -f -a
  • On an IBM® i control language (CL) command line, enter call qsys/qkrbklist parm('-f' '-a')

See the klist usage notes on this Qshell command for specifics on its usage and restrictions.

Display Kerberos Credentials Cache File (DSPKRBCCF) command

On an i5/OS CL command line, you can also use the Display Kerberos Credentials Cache File (DSPKRBCCF) command to display credentials cache. For instance, to display the default credentials cache file, enter the following command:

DSPKRBCCF CCF(*DFT) OUTPUT(*)