<?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: Authentication of users through beeline in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-of-users-through-beeline/m-p/79292#M81342</link>
    <description>You mentioned that "kerberos authentication" and "sentry" are NOT enabled, then you would NOT have any security at all.&lt;BR /&gt;&lt;BR /&gt;That username and password you entered are not checked by hive.&lt;BR /&gt;&lt;BR /&gt;You should enable kerberos authentication and sentry authorization if you want any security in your cluster.</description>
    <pubDate>Sat, 01 Sep 2018 02:36:35 GMT</pubDate>
    <dc:creator>EricL</dc:creator>
    <dc:date>2018-09-01T02:36:35Z</dc:date>
    <item>
      <title>Authentication of users through beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-of-users-through-beeline/m-p/77706#M81341</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have CDH 5.4 cluster and kerberos authentication is not enabled on cluster and also we don't have sentry service running in our cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use beeline client and use "!connect jdbc:hive2://hostname:10000" as a connection string, and entered no credentials (username and password) ,but we are still able to see and access all databases and its tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I set&amp;nbsp;&amp;nbsp;hive.server2.enable.doAs parameter to false and also using the user which doesn't have sudo access to root user, but still I am able to access all data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want only certain user with valid password should be able to connect to beeline and rest users should not be able to connect only.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe authentication is the way to do the same or is there any other way to achieve this please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help me on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Priya&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:31:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-of-users-through-beeline/m-p/77706#M81341</guid>
      <dc:creator>cdhhadoop</dc:creator>
      <dc:date>2022-09-16T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication of users through beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-of-users-through-beeline/m-p/79292#M81342</link>
      <description>You mentioned that "kerberos authentication" and "sentry" are NOT enabled, then you would NOT have any security at all.&lt;BR /&gt;&lt;BR /&gt;That username and password you entered are not checked by hive.&lt;BR /&gt;&lt;BR /&gt;You should enable kerberos authentication and sentry authorization if you want any security in your cluster.</description>
      <pubDate>Sat, 01 Sep 2018 02:36:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-of-users-through-beeline/m-p/79292#M81342</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2018-09-01T02:36:35Z</dc:date>
    </item>
  </channel>
</rss>

