From 44576cb8a2c4ad564836566200a98a7b31385534 Mon Sep 17 00:00:00 2001 From: Jake Callahan Date: Sat, 20 May 2023 10:37:01 -0400 Subject: [PATCH] kinit: add page (#10184) * kinit: add page Add in an initial page for the kinit kerberos ticketing utility. * Update pages/common/kinit.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/common/kinit.md make the keytab path relative per style guideline Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/kinit.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/kinit.md diff --git a/pages/common/kinit.md b/pages/common/kinit.md new file mode 100644 index 000000000..0c16759af --- /dev/null +++ b/pages/common/kinit.md @@ -0,0 +1,29 @@ +# kinit + +> 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. +> More information: . + +- Authenticate a user and obtain a ticket-granting ticket: + +`kinit {{username}}` + +- Renew a ticket-granting ticket: + +`kinit -R` + +- Specify a lifetime for the ticket: + +`kinit -l {{5h}}` + +- Specify a total renewable lifetime for the ticket: + +`kinit -r {{1w}}` + +- Specify a different principal name to authenticate as: + +`kinit -p {{principal@REALM}}` + +- Specify a different keytab file to authenticate with: + +`kinit -t {{path/to/keytab}}`