kinit
Authenticate a principal with a Kerberos server to gain and cache a ticket. tldr-pages
On several platforms
Several platforms
Authenticate a principal with a Kerberos server to gain and cache a ticket. Note: A Kerberos principal can be either a user, service, or application.
Authenticate a user and obtain a ticket-granting ticket
kinit usernameIdentifyRenew a ticket-granting ticket
kinit -RIdentifySpecify a lifetime for the ticket
kinit -l 5hIdentifySpecify a total renewable lifetime for the ticket
kinit -r 1wIdentifySpecify a different principal name to authenticate as
kinit -p principal@REALMIdentifySpecify a different keytab file to authenticate with
kinit -t path/to/keytabIdentify