19

I am in the process of debugging a Kerberos setup. I have a valid krb5.conf and I can call kinit USERNAME to get a Ticket Granting Ticket (TGT):

Credentials cache: /root/krb5cc_root Default principal: [email protected] Number of entries: 1 [1] Service principal: krbtgt/[email protected] Valid starting: Wednesday, June 4, 2014 at 10:02:29 PM Expires: Thursday, June 5, 2014 at 8:02:29 AM 

I would like to use that TGT to request a Kerberos service ticket on the command line, so I can look at it with klist. It will help with debugging a Kerberos problem I am trying to solve.

Is there a command or program to retreive a Kerberos service ticket for a given service ?

1 Answer 1

17

kvno service

acquires a service ticket for the specified Kerberos principals and prints out the key version numbers

1
  • 1
    With heimdal, it is kgetcred Commented Oct 27, 2019 at 20:13

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.