Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Recover or reset admin password for KDC ?

Recover or reset admin password for KDC ?

Guru

I am trying to unable LLAP in HIVE2 but it is asking KDC admin principal and password. Unfortunately I forgot that so is there anyway where I can recover it or reset it ?

Also if I would reset then will it impact on other services/principal which are dependend on it.

2 REPLIES 2
Highlighted

Re: Recover or reset admin password for KDC ?

Super Guru
Highlighted

Re: Recover or reset admin password for KDC ?

@Saurabh- Would you like to run the below change_password command on the kadmin.local shell. It might work:

[root@ipa1 ~]# kadmin.local
Authenticating as principal admin/admin@EXAMPLE.COM with password.
kadmin.local:  change_password admin@EXAMPLE.COM
Enter password for principal "admin@EXAMPLE.COM": 
Re-enter password for principal "admin@EXAMPLE.COM": 
Password for "admin@EXAMPLE.COM" changed.
kadmin.local: q
[root@ipa1 ~]#

https://web.mit.edu/Kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-admin/Changing-Passwords.html

https://blog.delouw.ch/2012/12/08/how-to-recover-from-a-lost-kerberos-password-for-admin/

Don't have an account?
Coming from Hortonworks? Activate your account here