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 ✨

  • -c cachename β€” tells it straight up which credential cache should be made primary. no searching, no guessing, you just say the name and it's done. 🫢
  • -p principal β€” 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


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