On the machine that hosts the command line programs, specify the location of the credential cache and configuration file in the Kerberos environment variables.
Set the following environment variables:
KRB5CCNAME
Stores the default path and filename for the Kerberos credentials cache. When you run the
kinit
utility to generate the user credential cache,
kinit
stores the credential cache in the default file that you set in the KRB5CCNAME environment variable.
KRB5_CONFIG
Stores the path and file name of the Kerberos configuration file. The name of the Kerberos configuration file is krb5.conf. For information about the contents of the krb5.conf file, see the