<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how to find which keytab is it headless and it is service keytab in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268314#M206083</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/45429"&gt;@irfangk1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can find more details about headless / service principals/keytabs in the following doc:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/authentication-with-kerberos/content/kerberos_principals.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/authentication-with-kerberos/content/kerberos_principals.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 04:42:01 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-08-20T04:42:01Z</dc:date>
    <item>
      <title>how to find which keytab is it headless and it is service keytab</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268311#M206080</link>
      <description>&lt;P&gt;Need to know how to differentiate headless and service keytab.. any specific commands&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 13:17:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268311#M206080</guid>
      <dc:creator>irfangk1</dc:creator>
      <dc:date>2019-08-20T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to find which keytab is it headless and it is service keytab</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268313#M206082</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/45429"&gt;@irfangk1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From Standard Kerberos perspective there is no command to differentiate between headless/service keytab.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, we can differentiate between headless / service keytabs&amp;nbsp; you can find the detailed discussion about it in the following thread:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Headless-Keytab-Vs-User-Keytab-Vs-Service-Keytab/m-p/175276" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Headless-Keytab-Vs-User-Keytab-Vs-Service-Keytab/m-p/175276&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Try running the following command on your keytab:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Headless keytab&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Headless principals are not bound to a specific host or node, they have the syntax: -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;@EXAMPLE.COM&lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# klist -kte /etc/security/keytabs/hdfs.headless.keytab 
Keytab name: FILE:/etc/security/keytabs/hdfs.headless.keytab
KVNO Timestamp           Principal
---- ------------------- ------------------------------------------------------
   2 08/11/2019 01:58:27 hdfs-ker1latest@EXAMPLE.COM (des-cbc-md5) 
   2 08/11/2019 01:58:27 hdfs-ker1latest@EXAMPLE.COM (aes256-cts-hmac-sha1-96) 
   2 08/11/2019 01:58:27 hdfs-ker1latest@EXAMPLE.COM (des3-cbc-sha1) 
   2 08/11/2019 01:58:27 hdfs-ker1latest@EXAMPLE.COM (arcfour-hmac) 
   2 08/11/2019 01:58:27 hdfs-ker1latest@EXAMPLE.COM (aes128-cts-hmac-sha1-96) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is truly a headless keytab then it will not have a principal specific to a Host.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Service keytab&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Service principal is something that does not need to be a POSIX user,they are mostly applications that have own arrangement on how they run on the OS level and need to interact with the Kerberized cluster. Notice it's principal name has hostname included.&lt;BR /&gt;Example:&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# klist -kte /etc/security/keytabs/nn.service.keytab 
Keytab name: FILE:/etc/security/keytabs/nn.service.keytab
KVNO Timestamp           Principal
---- ------------------- ------------------------------------------------------
   2 08/11/2019 01:58:40 nn/ker1latest1.example.com@EXAMPLE.COM (des-cbc-md5) 
   2 08/11/2019 01:58:40 nn/ker1latest1.example.com@EXAMPLE.COM (aes256-cts-hmac-sha1-96) 
   2 08/11/2019 01:58:40 nn/ker1latest1.example.com@EXAMPLE.COM (des3-cbc-sha1) 
   2 08/11/2019 01:58:40 nn/ker1latest1.example.com@EXAMPLE.COM (arcfour-hmac) 
   2 08/11/2019 01:58:40 nn/ker1latest1.example.com@EXAMPLE.COM (aes128-cts-hmac-sha1-96) &lt;/LI-CODE&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 04:38:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268313#M206082</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-20T04:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to find which keytab is it headless and it is service keytab</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268314#M206083</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/45429"&gt;@irfangk1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can find more details about headless / service principals/keytabs in the following doc:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/authentication-with-kerberos/content/kerberos_principals.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/authentication-with-kerberos/content/kerberos_principals.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 04:42:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/268314#M206083</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-20T04:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to find which keytab is it headless and it is service keytab</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/278427#M208021</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/45429"&gt;@irfangk1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was your query answered?&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;If your question is answered then, Please make sure to mark the answer as the accepted solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please revert back if you have any followup query in this thread. That way we can find the solution/answer that way other community users can get the benefit.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 12:20:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/278427#M208021</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-09-27T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to find which keytab is it headless and it is service keytab</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/278515#M208071</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 04:10:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-find-which-keytab-is-it-headless-and-it-is-service/m-p/278515#M208071</guid>
      <dc:creator>irfangk1</dc:creator>
      <dc:date>2019-09-30T04:10:04Z</dc:date>
    </item>
  </channel>
</rss>

