<?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: Can we use password and Keytab file for same user in Kerberos? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199254#M74197</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 13:22:20 GMT</pubDate>
    <dc:creator>bkandalkar</dc:creator>
    <dc:date>2018-02-07T13:22:20Z</dc:date>
    <item>
      <title>Can we use password and Keytab file for same user in Kerberos?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199250#M74193</link>
      <description>&lt;P&gt;Can we use password and Keytab file for same user in Kerberos? Also, is password changed after creating keytab for that principal?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:48:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199250#M74193</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2022-09-16T12:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use password and Keytab file for same user in Kerberos?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199251#M74194</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/29224/kandalkarbhushan.html" nodeid="29224"&gt;@Bhushan Kandalkar&lt;/A&gt;, Yes we can use both password and keytab for the same principal. You will have to regenerate the keytab if you change the password. &lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 02:50:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199251#M74194</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-02-02T02:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use password and Keytab file for same user in Kerberos?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199252#M74195</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I am getting error while using password for same principal. I have done following steps:&lt;/P&gt;&lt;P&gt;================================================&lt;/P&gt;&lt;P&gt;kadmin: addprinc testuser@XORTEST.COM&lt;/P&gt;&lt;P&gt;WARNING: no policy specified for testuser@XORTEST.COM; defaulting to no policy Enter password for principal "testuser@XORTEST.COM":&lt;/P&gt;&lt;P&gt;Re-enter password for principal "testuser@XORTEST.COM":&lt;/P&gt;&lt;P&gt;Principal "testuser@XORTEST.COM" created.&lt;/P&gt;&lt;P&gt;kadmin: ktadd -k /home/testuser/testuser.keytab testuser@XORTEST.COM&lt;/P&gt;&lt;P&gt;Entry for principal testuser@XORTEST.COM with kvno 2, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/home/testuser/testuser.keytab. Entry for principal testuser@XORTEST.COM with kvno 2, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/home/testuser/testuser.keytab. kadmin: quit&lt;/P&gt;&lt;P&gt;[root@bhushanhdp-1 ~]# chown -R testuser:testuser /home/testuser/testuser.keytab&lt;/P&gt;&lt;P&gt;[root@bhushanhdp-1 ~]# chmod 600 /home/testuser/testuser.keytab&lt;/P&gt;&lt;P&gt;[root@bhushanhdp-1 ~]# su - testuser&lt;/P&gt;&lt;P&gt;[testuser@bhushanhdp-1 ~]$ kinit -kt testuser.keytab testuser@XORTEST.COM&lt;/P&gt;&lt;P&gt;[testuser@bhushanhdp-1 ~]$ hadoop fs -ls /&lt;/P&gt;&lt;P&gt;Found 9 items &lt;/P&gt;&lt;P&gt;drwxrwxrwx - yarn hadoop 0 2018-01-29 11:39 /app-logs &lt;/P&gt;&lt;P&gt;drwxr-xr-x - hdfs hdfs 0 2018-01-29 11:39 /apps &lt;/P&gt;&lt;P&gt;drwxr-xr-x   - yarn hadoop 0 2018-01-29 11:37 /ats &lt;/P&gt;&lt;P&gt;drwxr-xr-x - hdfs hdfs 0 2018-01-29 11:37 /hdp &lt;/P&gt;&lt;P&gt;drwxr-xr-x - mapred hdfs 0 2018-01-29 11:37 /mapred &lt;/P&gt;&lt;P&gt;drwxrwxrwx - mapred hadoop 0 2018-01-29 11:38 /mr-history &lt;/P&gt;&lt;P&gt;drwxrwxrwx - hdfs hdfs 0 2018-01-31 09:27 /tmp &lt;/P&gt;&lt;P&gt;drwxr-xr-x - hdfs hdfs 0 2018-01-29 11:39 /user &lt;/P&gt;&lt;P&gt;drwxr-xr-x - hdfs hdfs 0 2018-01-29 11:37 /webhdfs&lt;/P&gt;&lt;P&gt;[testuser@bhushanhdp-1 ~]$ kdestroy&lt;/P&gt;&lt;P&gt;[testuser@bhushanhdp-1 ~]$ klist klist: No credentials cache found (filename: /tmp/krb5cc_1015)&lt;/P&gt;&lt;P&gt;[testuser@bhushanhdp-1 ~]$ kinit testuser@XORTEST.COM&lt;/P&gt;&lt;P&gt;Password for testuser@XORTEST.COM:&lt;/P&gt;&lt;P&gt;kinit: Password incorrect while getting initial credentials&lt;/P&gt;&lt;P&gt;[testuser@bhushanhdp-1 ~]$&lt;/P&gt;&lt;P&gt;======================================================================&lt;/P&gt;&lt;P&gt;Is password changed after creating Keytab file?&lt;/P&gt;&lt;P&gt;How should I used both password and Keytab for same principal?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 12:48:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199252#M74195</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-02-02T12:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use password and Keytab file for same user in Kerberos?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199253#M74196</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1162/bhushankandalkar.html" nodeid="1162"&gt;@Bhushan Kandalkar&lt;/A&gt; use below (which will not change the password while generating the keytab. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;kadmin.local -q "xst -norandkey -k testuser.keytab testuser"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Feb 2018 09:20:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199253#M74196</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-02-03T09:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use password and Keytab file for same user in Kerberos?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199254#M74197</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:22:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-use-password-and-Keytab-file-for-same-user-in/m-p/199254#M74197</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-02-07T13:22:20Z</dc:date>
    </item>
  </channel>
</rss>

