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>
pull/23/head
Jake Callahan 2023-05-20 10:37:01 -04:00 committed by GitHub
parent 619b4bea1c
commit 44576cb8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
pages/common/kinit.md Normal file
View File

@ -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: <https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/kinit.html>.
- 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}}`