Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

kdestroy (1)

Name

kdestroy - destroy Kerberos tickets

Synopsis

kdestroy [-A] [-q] [-c cache_name]

Description

KDESTROY(1)                      MIT Kerberos                      KDESTROY(1)



NAME
       kdestroy - destroy Kerberos tickets

SYNOPSIS
       kdestroy [-A] [-q] [-c cache_name]

DESCRIPTION
       The  kdestroy utility destroys the user's active Kerberos authorization
       tickets by overwriting and deleting the credentials cache that contains
       them.   If  the credentials cache is not specified, the default creden-
       tials cache is destroyed.

OPTIONS
       -A     Destroys all caches in the collection, if a cache collection  is
              available.   May  be used with the -c option to specify the col-
              lection to be destroyed.

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

       -c cache_name
              Use  cache_name as the credentials (ticket) cache name and loca-
              tion; if this option is not used, the  default  cache  name  and
              location are 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.

       -p princ_name
              If  a  cache  collection  is  available,  destroy  the cache for
              princ_name instead of the primary cache.  May be used  with  the
              -c option to specify the collection to be searched.

NOTE
       Most  installations  recommend  that  you place the kdestroy command in
       your .logout file, so that your  tickets  are  destroyed  automatically
       when you log out.

ENVIRONMENT
       See kerberos(7) for a description of Kerberos environment variables.

FILES
       FILE:/tmp/volatile-user/%{uid}/krb5cc_%{uid}
              Default location of Kerberos 5 credentials cache


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------------+
       |ATTRIBUTE TYPE |    ATTRIBUTE VALUE     |
       +---------------+------------------------+
       |Availability   | security/kerberos-5    |
       +---------------+------------------------+
       |Stability      | Pass-through committed |
       +---------------+------------------------+

SEE ALSO
       kinit(1), klist(1), kerberos(7)

AUTHOR
       MIT

COPYRIGHT
       1985-2021, MIT



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source      was      downloaded      from       http://web.mit.edu/ker-
       beros/dist/krb5/1.18/krb5-1.18.4.tar.gz.

       Further information about this software can be found on the open source
       community website at http://web.mit.edu/kerberos/.



1.18.4                                                             KDESTROY(1)