view principals in a kerberos keytab file

Developer from somewhere

Problem: want to see principals in a keytab file.

Solution:

  • start ktutil
ktutil
  • read your keytab file:
ktutil:  read_kt /path/to/some.keytab
  • list them:
ktutil: list