pam_krb5_migrate(7)
π NAME π
pam_krb5_migrate β the Kerberos 5 Migration PAM module β¨
It's a little guy from the Miscellaneous Information Manual, and bestie, it is so much cooler than that sounds.
π SYNOPSIS π
auth optional pam_krb5_migrate.so
That's it. That's the whole summoning circle. π―οΈ
β¨ DESCRIPTION β¨
okay so picture this: pam_krb5_migrate is a stackable authentication module. Stackable means it plays nice β it sits in the auth stack and doesn't need to be the main character, it just does its thing.
Here's the vibe: it grabs the username and password that some earlier module in the stack already collected, and then it attempts to transparently add them to a Kerberos realm using the Kerberos 5 kadmin service. Like, no drama, no big announcement, the creds just quietly become Kerberos principals. π
Why would anyone want this? Because migrating a large installed userbase from whatever ancient pre-existing authentication method they've been using over to a Kerberos-based setup is lowkey an administrative nightmare π. This module eases those administrative burdens β people log in with their old creds and BOOM, they're in the realm. ate. π
πΈ OPTIONS πΈ
Here's everything you can pass to the authentication module, bestie, and yes, we're going through all of them:
debugβ turns onsyslog(3)debugging information atLOG_DEBUGlevel. Crank it when you need to see everything that's happening. πkeytab=<file>β use an alternate keytab for authentication. If you don't specify one, the default is/etc/security/pam_krb5.keytab. ποΈmin_uid=<uid>β don't add principals for uids lower than<uid>. The default is100, so your system accounts stay unbothered. π‘οΈprincipal=<name>β use the key for<name>instead of the defaultpam_migrate/<hostname>key. β¨realm=<REALM>β update the database for a realm other than the default realm. π
ngl,principal=<name>andrealm=<REALM>are the ones you'll reach for when your setup isn't the plain vanilla default. iykyk π«Ά
π¦ AUTHOR π¦
pam_krb5_migrate was written by Steve Langasek <vorlon@netexpress.net>. π
This manpage was assembled by Jelmer Vernooij <jelmer@samba.org>. π
Absolute icons, both of them. π
β SEE ALSO β
kadmin(1)pam_krb5(5)pam(3)libpam(4)
and that's the whole page, bestie π§ this one's from the Miscellaneous Information Manual, dated 13 November 2006, and it's page pam_krb5_migrate(7) β go migrate a userbase, you've got this π
π¦ where this page comes from
- debian bookworm: libpam-krb5-migrate-mit 0.0.11-5+b2 Β· GPL-2.0-or-later
- ubuntu jammy: libpam-krb5-migrate-mit 0.0.11-5build1 Β· GPL-2.0-or-later
- ubuntu noble: libpam-krb5-migrate-mit 0.0.11-5build3 Β· GPL-2.0-or-later
- ubuntu questing: libpam-krb5-migrate-mit 0.0.11-5.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms