KSWITCH(1)
π KSWITCH β the "make THIS ticket cache the main character" page
okay bestie, welcome to kswitch(1) from the MIT Kerberos manual set β¨ this little icon does exactly one thing and it does it flawlessly, no cap.
πΈ NAME πΈ
kswitch β switch primary ticket cache π
π¦ SYNOPSIS π¦
kswitch {-c cachename|-p principal}
like, you HAVE to give it one of those two. it's giving "pick a lane, babe". π
π DESCRIPTION π
so here's the vibe: kswitch makes the credential cache you point at the primary cache for the collection β but only if a cache collection is available. no collection? then there's nothing to switch, bestie, the whole point is moot. π
β¨ OPTIONS β¨
-ccachename β tells it straight up which credential cache should be made primary. no searching, no guessing, you just say the name and it's done. π«Ά-pprincipal β this one's the detective route π: it goes searching through the cache collection for a cache that has credentials for principal. if it finds one, that collection gets made primary. if it doesn't... well. π
π ENVIRONMENT π
head over to the kerberos page for the whole rundown on Kerberos environment variables β that's where all of that lives. π
π FILES π
FILE:/tmp/krb5cc_%{uid}β the default location of the Kerberos 5 credentials cache. that's your home base, bestie π
π SEE ALSO π
kinit, kdestroy, klist, kerberos
the whole squad fr fr π§
π AUTHOR π
MIT
β COPYRIGHT β
1985-2026, MIT
okay that's the entire page, no notes. go forth and make the right cache the main character. π₯
this has been KSWITCH(1) from MIT Kerberos, version 1.22.2 β slay, stay cached, and may your primary cache always be the one you actually wanted πβ¨
π¦ where this page comes from
- alpine 3.24: krb5-doc 1.22.2-r1 Β· MIT
- arch rolling: krb5 1.22.2-1 Β· custom
- fedora 43: krb5-workstation 1.22.2-4.fc43 Β· Brian-Gladman-2-Clause AND BSD-2-Clause AND (BSD-2-Clause OR GPL-2.0-or-later) AND BSD-2-Clause-first-lines AND BSD-3-Clause AND BSD-4-Clause AND CMU-Mach-nodoc AND FSFULLRWD AND HPND AND HPND-export2-US AND HPND-export-US AND HPND-export-US-acknowledgement AND HPND-export-US-modify AND ISC AND MIT AND MIT-CMU AND OLDAP-2.8 AND OpenVision
- nixos 26.05: krb5 1.22.2
- nixpkgs unstable: krb5 1.22.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms