Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > K


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


kdestroy — destroy Kerberos tickets


kdestroy [-q] [-c cache_filename]


The kdestroy utility destroys the user's active Kerberos tickets by writing zeros to the specified credentials cache that contains them. If the credentials cache is not specified, the default credentials cache is destroyed.



Run quietly. Normally, kdestroy beeps if it fails to destroy the user's tickets. The -q flag suppresses this behavior.

-c cache_filename

Use cache_filename as the credentials ticket cache name and location. If this option is not used, the default cache name and location is used.

The default credentials cache may vary between systems. If the KRB5CCNAME environment variable is set, its value is used to name the default ticket cache.

Most installations recommend placing the kdestroy command in the .logout file, so that tickets are destroyed automatically upon log out.


For DCE operations use /opt/dce/bin/kdestroy.


Environment Variables

kdestroy uses the following environment variable:


Location of the credentials ticket cache.


Only the tickets in the specified credentials cache are destroyed.

Separate ticket caches are used to hold root instance and password changing tickets; even these should be destroyed.

It is recommended that all user tickets be kept in a single credentials cache.



Default credentials cache. {uid} is the decimal UID of the user.


kdestroy was developed by the Massachusetts Institute of Technology.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.