New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA XK0-005 Exam - Topic 3 Question 19 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 19
Topic #: 3
[All XK0-005 Questions]

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).

Show Suggested Answer Hide Answer
Suggested Answer: A, B

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


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

klist(1) - Linux man page, section ''Description''.

Contribute your Thoughts:

0/2000 characters
Ellsworth
3 months ago
I'm not sure about that, seems too simple.
upvoted 0 times
...
Maurine
3 months ago
Wait, are kinit and klist really the only ones?
upvoted 0 times
...
Raul
3 months ago
kexec? That's not even related.
upvoted 0 times
...
Serina
4 months ago
Definitely klist to show the tickets!
upvoted 0 times
...
Roselle
4 months ago
You need to use kinit to authenticate.
upvoted 0 times
...
Glenn
4 months ago
I’m a bit confused; I thought realm was more about managing Kerberos realms. I’m leaning towards kinit and klist, though.
upvoted 0 times
...
Ayesha
4 months ago
I feel like kexec is related to executing kernels, not authentication. I think klist is the right choice for showing tickets.
upvoted 0 times
...
Karrie
4 months ago
I remember practicing with these commands, and kinit was used for getting the ticket, but I can't recall if klist was the one to show it.
upvoted 0 times
...
Tammi
5 months ago
I think the command to authenticate is definitely kinit, but I'm not sure about the second one. Maybe klist?
upvoted 0 times
...
Veda
5 months ago
Ah, I remember learning about Kerberos in my Linux class. 'kinit' is definitely the command to authenticate, and 'klist' is used to view the ticket grants. I feel pretty confident about those two choices.
upvoted 0 times
...
Amber
5 months ago
I'm a bit unsure about this one. I know Kerberos is used for single sign-on, but I'm not super familiar with the specific commands. I'll have to think this through carefully.
upvoted 0 times
...
Alonzo
5 months ago
Okay, let me think this through. 'kinit' is used to get a Kerberos ticket, and 'klist' is used to list the Kerberos tickets you have. Those seem like the two most relevant commands for this scenario.
upvoted 0 times
...
Yvonne
5 months ago
Hmm, this looks like a Kerberos-related question. I think the key commands here are 'kinit' to authenticate and 'klist' to show the ticket grants.
upvoted 0 times
...
Darrin
5 months ago
Hmm, I'm not as familiar with Kerberos as I'd like to be. But I think 'kinit' is used to get a Kerberos ticket, and 'klist' is used to list the tickets you have. I'll make sure to double-check those before submitting my answer.
upvoted 0 times
...
Linwood
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the question and the function signature to figure out the right way to call it.
upvoted 0 times
...
Jeff
5 months ago
I'm a little confused on the specifics here. Is the GRE tunnel running over Ethernet or ATM? That would affect which header fields I can use to mark the traffic.
upvoted 0 times
...
Erick
5 months ago
I think the answer is D. The new HTML5 structural elements need to be styled as block-level elements to ensure consistent rendering across browsers.
upvoted 0 times
...

Save Cancel