Kerberos commands

Common Kerberos commands:

1.Change password of a principal(user)

$ kadmin.local

kadmin.local: cpw <principalname>

Enter password for princal “principalname@REALM.COM”:

2.initialize a kerberos ticket

$ kinit <principalname>

To get detailed verbose info use below options:

KRB5_TRACE=/dev/stdout kinit -V

3. Destroy the current ticket:

$ kdestroy

4. Check the status of Kerberos KDC

$ systemctl status kadmin

$ systemctl status krb5kdc

 

REFERENCE:

https://steveloughran.gitbooks.io/kerberos_and_hadoop/content/

http://janbernhardt.blogspot.com/2017/02/kerberos-debugging-in-java.html

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.