ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 165 - XK0-005 discussion

Report
Export

A user is attempting to log in to a Linux server that has Kerberos SSO enabled. Which of the following commands should the user run to authenticate and then show the ticket grants? (Select TWO).

A.
kinit
Answers
A.
kinit
B.
klist
Answers
B.
klist
C.
kexec
Answers
C.
kexec
D.
kioad
Answers
D.
kioad
E.
pkexec
Answers
E.
pkexec
F.
realm
Answers
F.
realm
Suggested answer: A, B

Explanation:

The following commands can help the user to authenticate and show the ticket grants using Kerberos SSO on a Linux server:

kinit: This command obtains and caches an initial ticket-granting ticket (TGT) for the user from the

Kerberos key distribution center (KDC). The user needs to enter their password or use a keytab file to authenticate1.

klist: This command lists the cached tickets, including the TGT and any service tickets, for the user. It also shows the expiration time and flags for each ticket2.

For example, the user can run the following commands to log in and view their tickets:

$ kinit username@REALM Password for username@REALM:

$ klist

Ticket cache: FILE:/tmp/krb5cc_1000

Default principal: username@REALM

Valid starting Expires Service principal

04/06/2023 16:06:59 04/07/2023 02:06:59 krbtgt/REALM@REALM

renew until 04/13/2023 16:06:59

Reference:

kinit(1) - Linux man page, section "Description".


asked 02/10/2024
Eusebio Adrian
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first