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







Leave a Reply

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

You are commenting using your 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.