Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

kswitch (1)

Name

kswitch - switch primary ticket cache

Synopsis

kswitch {-c cachename|-p principal}

Description

KSWITCH(1)                       MIT Kerberos                       KSWITCH(1)



NAME
       kswitch - switch primary ticket cache

SYNOPSIS
       kswitch {-c cachename|-p principal}

DESCRIPTION
       kswitch  makes the specified credential cache the primary cache for the
       collection, if a cache collection is available.

OPTIONS
       -c cachename
              Directly specifies the credential cache to be made primary.

       -p principal
              Causes the cache collection to be searched for a cache  contain-
              ing credentials for principal.  If one is found, that collection
              is made primary.

ENVIRONMENT
       kswitch uses the following environment variables:

       KRB5CCNAME
              Location of the default Kerberos 5 credentials  (ticket)  cache,
              in  the  form  type:residual.  If no type prefix is present, the
              FILE type is assumed.  The type of the default cache may  deter-
              mine  the  availability  of  a cache collection; for instance, a
              default cache of type DIR causes caches within the directory  to
              be present in the collection.

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


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


       +---------------+------------------------+
       |ATTRIBUTE TYPE |    ATTRIBUTE VALUE     |
       +---------------+------------------------+
       |Availability   | security/kerberos-5    |
       +---------------+------------------------+
       |Stability      | Pass-through committed |
       +---------------+------------------------+
SEE ALSO
       kinit(1), kdestroy(1), klist(1)), kerberos(1)

AUTHOR
       MIT

COPYRIGHT
       1985-2016, MIT



NOTES
       This     software     was    built    from    source    available    at
       https://java.net/projects/solaris-userland.   The  original   community
       source      was      downloaded      from       http://web.mit.edu/ker-
       beros/dist/krb5/1.14/krb5-1.14.4.tar.gz

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



1.14.4                                                              KSWITCH(1)