How to recover from a lost Kerberos password for admin

Ever lost your password for the admin principle on your Linux Kerberos server? It is quite easy to recover by just setting a new one.

You just need to log in to your KDC and proceed as follows:

[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 ~]#

Now enter kinit to get a Kerberos ticket.

Have fun :-)

Share and Enjoy:
  • Twitter
  • Facebook
  • Slashdot
  • del.icio.us
  • Technorati
  • Digg
  • Google Bookmarks
  • Add to favorites
  • MisterWong
  • Reddit
  • Yahoo! Buzz
  • BlinkList
  • Mixx

Tags: , , ,

2 Responses to “How to recover from a lost Kerberos password for admin”

  1. Gary says:

    Is there a way to reset hard disk password on Fedora?

    At the moment my computer runs Fedora from a flash stick but I can’t install it on Hard Disk because of the los tHD password. The HD is recognized but that is it.
    This laptop use to run Vista and hard disk password is not recognized.
    Fedora is nice and fast – but I can’t do anything with the HD (repartition, format,et.set.)
    Help!

Leave a Reply

*