KCM(8)
π kcm(8) β the process-based credential cache for Kerberos tickets π
okay bestie, sit down, hydrate, because this one is a system manager's manual page and it's lowkey iconic. it's called kcm, it lives in section 8 of the manual, and it's giving "the girl who holds everyone's tickets and never tells" energy. ποΈβ¨
πΈ NAME πΈ
kcm β process-based credential cache for Kerberos tickets.
like. that's the whole name. short, sweet, slays. π
π¦ SYNOPSIS π¦
kcm [--cache-name=cachename] [-c file | --config-file=file] [-g group |
--group=group] [--max-request=size] [--disallow-getting-krbtgt]
[--detach] [-h | --help] [-k principal |
--system-principal=principal] [-l time | --lifetime=time] [-m mode |
--mode=mode] [-n | --no-name-constraints] [-r time |
--renewable-life=time] [-s path | --socket-path=path]
[--door-path=path] [-S principal | --server=principal] [-t keytab |
--keytab=keytab] [-u user | --user=user] [-v | --version]
no cap, that's a LOT of options for one little daemon. she's high maintenance and she's worth it. π
π DESCRIPTION π
so kcm is a process based credential cache. that's the whole vibe. π«Ά
to actually use it, you gotta set the KRB5CCNAME environment variable to KCM:uid β literally just that, bestie β or you can add this little stanza to your /etc/krb5.conf configuration file:
[libdefaults]
default_cc_name = KCM:%{uid}
and then make sure kcm is started in the system startup files. do NOT forget that part, it's the whole plot. π
the kcm daemon can hold the credentials for all users in the system. access control is done with Unix-like permissions, which is so real of her. the daemon checks the access on all operations based on the uid and gid of the user. and the tickets are renewed as long as is permitted by the KDC's policy. she keeps them fresh, she keeps them fed. π
the kcm daemon can also keep a SYSTEM credential that server processes can use to access services. one example of usage might be an nss_ldap module that quickly needs to get credentials and doesn't want to renew the ticket itself. lazy? no. efficient. main character energy. β
supported options:
β¨ OPTIONS β¨
--cache-name=cachenameβ system cache name. name your cache, she deserves a name. π-c file,--config-file=fileβ location of config file. tell her where the config lives.-g group,--group=groupβ system cache group. the group chat the system cache belongs to.--max-request=sizeβ max size for akcm-request. she has boundaries, and this is them.--disallow-getting-krbtgtβ disallow extracting anykrbtgtfrom thekcmdaemon. thekrbtgtstays in the building. π«--detachβ detach from console. she's leaving, bye. π-h,--helpβ no description given in the original, she just does the thing, iykyk. π-k principal,--system-principal=principalβ system principal name.-l time,--lifetime=timeβ lifetime of system tickets.-m mode,--mode=modeβ octal mode of system cache. yes, octal. not vibes. numbers. π’-n,--no-name-constraintsβ disable credentials cache name constraints.-r time,--renewable-life=timeβ renewable lifetime of system tickets.-s path,--socket-path=pathβ path tokcmdomain socket.--door-path=pathβ path tokcmdoor socket. yes, door. two different sockets, two different paths, don't mix them up bestie. πͺ-S principal,--server=principalβ server to get system ticket for.-t keytab,--keytab=keytabβ system keytab name.-u user,--user=userβ system cache owner.-v,--versionβ no description given in the original either. she's mysterious like that. π
fr fr, that's every single option. nothing skipped, nothing merged, nothing invented. we keep the receipts. π§Ύπ
aaaand that's the whole page, bestie! π this one came from the Debian crew, dated May 29, 2005, and it's filed under KCM(8). love her, respect her, go set that KRB5CCNAME and thrive. periodt. π
πβ¨π¦πΈ
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- debian bookworm: heimdal-kcm 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-kcm 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- epel 10: heimdal-workstation 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-workstation 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-workstation 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-workstation 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-workstation 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- ubuntu jammy: heimdal-kcm 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-kcm 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-kcm 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-kcm 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-kcm 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2005 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms