KPASSWDD(8)
π KPASSWDD(8) π
okay so bestie, gather round, because we're talking about kpasswdd β the Kerberos 5 password changing server. yes she's a whole 8th-section system manager situation, and yes she's iconic, let's get into it π
β¨ SYNOPSIS β¨
kpasswdd [--addresses=address] [--check-library=library]
[--check-function=function] [-k kspec | --keytab=kspec] [-r
realm | --realm=realm] [-p string | --port=string] [--version]
[--help]
πΈ DESCRIPTION πΈ
so kpasswdd is literally the girl who serves requests for password changes. that's her job, that's her whole vibe. she listens on UDP port 464 (the service is called kpasswd, iykyk) and she processes requests the second they arrive. no waiting around, no queue drama. π
and here's the thing β she changes the database directly. like, straight in. which means she should only ever run on the master KDC, periodt. do not run her anywhere else, that is not the move. π
here are the supported options, let's go:
--addresses=addressβ for each time this argument shows up, add that address to the list of what kpasswdd should be listening to. stack them up, bestie π¦--check-library=libraryβ if your system supports dynamically loading shared libraries (some do, some don't, vibe check your system first), you can bring in an outside function to check password quality. this option says which library to load. β¨--check-function=functionβ and this is the function to call inside that loaded library. she should look exactly like this:
const char * passwd_check(krb5_context context, krb5_principal principal, krb5_data *password)
so, breaking it down: context is an initialized context, principal is the one who's trying to change passwords, and password is the new password. π«Ά and listen β the password (in password->data) is not zero terminated. not it being sneaky like that π
-kkspec,--keytab=kspec β the keytab to get the authentication key from. that's where the key lives π-rrealm,--realm=realm β the default realm. setting the scene, love that for her π-pstring,--port=string β the port to listen on. default is the servicekpasswd, which is 464 β
π©Ί DIAGNOSTICS π©Ί
if something goes wrong, the error message gets returned to the user and/or logged to syslog. so like, the tea gets spilled either way π
π BUGS π
the default password quality checks are too basic. that's it, that's the bug. highkey underwhelming, we said what we said π
π SEE ALSO π
and that's the whole page, bestie!! π this one's from the HEIMDAL crew, dated April 19, 1999 β yeah she's an elder but she still ate π stay safe out there, and remember: master KDC only, no cap π
π¦ 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-kdc 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-kdc 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- epel 10: heimdal-server 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-server 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-server 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-server 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-server 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
- freebsd 14.5: base 14.5
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- ubuntu jammy: heimdal-kdc 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-kdc 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-kdc 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-kdc 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-kdc 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 1997, 2000 - 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