How to Regenerate a Kerberos Ticket

Goal

Regenerate a Kerberos Ticket.

Learn

List Tickets

klist

Generate Ticket (Example)

kinit -k -t /opt/Cloudera/keytabs/`whoami`.`hostname -s`.keytab `whoami`/`hostname -f`@<hostname>.<domain>.<tld>

Grant Ticket (Example)

kinit datameer@<domain>.<tld> -k -t /home/datameer/datameer.keytab

Renew Tickets

kinit -R