Bird
0
0

What is wrong with this command to destroy Kerberos tickets?

medium📝 Debug Q7 of 15
Hadoop - Security
What is wrong with this command to destroy Kerberos tickets?
kdestroy -t /etc/security/keytabs/user.keytab
Akdestroy does not take a keytab option
BKeytab path is invalid
CMissing principal name
DCommand should be kinit
Step-by-Step Solution
Solution:
  1. Step 1: Understand kdestroy command usage

    kdestroy removes tickets from the cache and does not accept a keytab option.
  2. Step 2: Identify misuse of options

    Using '-t' with kdestroy is invalid; keytab is for kinit, not kdestroy.
  3. Final Answer:

    kdestroy does not take a keytab option -> Option A
  4. Quick Check:

    kdestroy ignores keytab option [OK]
Quick Trick: kdestroy removes tickets; no keytab needed [OK]
Common Mistakes:
  • Using keytab with kdestroy
  • Confusing kdestroy with kinit

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes