<?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 create the following user roles in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49380#M51430</link>
    <description>&lt;P&gt;Since you have mentioned the word "user role", I want to clarify this&lt;/P&gt;&lt;P&gt;You have to understand the difference between Group, User and Role&lt;/P&gt;&lt;P&gt;Group and User to be created in both Linux(root user) and Hue(as admin user)&lt;/P&gt;&lt;P&gt;But Role to be created only in Hue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex: Login as root in Linux and apply below commands.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Group:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;groupadd hive;&lt;BR /&gt;groupadd hue;&lt;BR /&gt;groupadd impala;&lt;BR /&gt;groupadd analyst;&lt;BR /&gt;groupadd admin;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# In your case, your Group suppose to be..&lt;BR /&gt;Auditor, Read-Only, Limited Operator, Operator, Configurator, Cluster Administrator ,BDR Administrator, Navigator Administrator, User Administrator, Key Administrator, Full Administrator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;User:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;useradd kumar;&lt;BR /&gt;# User belongs to Group&lt;BR /&gt;usermod -a -G hive,hue,impala,admin,analyst kumar;&lt;BR /&gt;passwd kumar;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;# Role&amp;nbsp;assigned to Group:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Now, login to Hue -&amp;gt; Security(Menu)-&amp;gt; Sentry Tables -&amp;gt; Add Roles (as Hive user)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 20:38:06 GMT</pubDate>
    <dc:creator>saranvisa</dc:creator>
    <dc:date>2017-01-12T20:38:06Z</dc:date>
    <item>
      <title>How to create the following user roles</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49374#M51427</link>
      <description>&lt;P&gt;How to create the following roles:&lt;/P&gt;&lt;P&gt;Auditor, Read-Only, Limited Operator, Operator, Configurator, Cluster Administrator ,BDR Administrator, Navigator Administrator, User Administrator, Key Administrator, Full Administrator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me if possible to create from cloudera manager or hue editor logged in as administrator. hdfs account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are having issues, the moment with enabled teh sentry, all schemas are disappearing straight seems like the roles are not defined thats why not seeing anything, now reverted back to unchecking sentry from hive configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the helpful info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:54:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49374#M51427</guid>
      <dc:creator>cplusplus1</dc:creator>
      <dc:date>2022-09-16T10:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create the following user roles</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49375#M51428</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16187"&gt;@cplusplus1&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Login to Linux: Create required Group &amp;amp; User&lt;BR /&gt;2. Login to Hue: Either sync with LDAP or Create required Group &amp;amp; User manually.&lt;/P&gt;&lt;PRE&gt;Note1: You have to login as "admin user" to manage user/group
Note2: Make sure Linux Group &amp;amp; User exactly matches to Hue Group &amp;amp; user&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;3. Login to Hue: Create Roles for each DB/Tables by Hue -&amp;gt; Security(Menu)-&amp;gt; Sentry Tables -&amp;gt; Add Roles&lt;/P&gt;&lt;PRE&gt;Note1: You have to login as "Hive user". Because CM -&amp;gt; Sentry -&amp;gt; Configuration -&amp;gt; Admin Groups -&amp;gt; Default values are Hive, Impala, Solr, Hue&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:12:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49375#M51428</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2017-01-12T19:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create the following user roles</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49378#M51429</link>
      <description>Hi Kumar,&lt;BR /&gt;&lt;BR /&gt;We haven't yet enabled Sentry, right now giving issues due to missing&lt;BR /&gt;property values etc on various config files.&lt;BR /&gt;&lt;BR /&gt;prior to enabling sentry, want to make sure to create all groups / roles&lt;BR /&gt;and then enable sentry on hive configuration.&lt;BR /&gt;&lt;BR /&gt;Please sir, do you have steps on linux creating required group &amp;amp; user roles.&lt;BR /&gt;following are the roles which i want to plan on creating:&lt;BR /&gt;&lt;BR /&gt;Auditor, Read-Only, Limited Operator, Operator, Configurator, Cluster&lt;BR /&gt;Administrator ,BDR Administrator, Navigator Administrator, User&lt;BR /&gt;Administrator, Key Administrator, Full Administrator&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you very much for the helpful info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:02:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49378#M51429</guid>
      <dc:creator>cplusplus1</dc:creator>
      <dc:date>2017-01-12T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create the following user roles</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49380#M51430</link>
      <description>&lt;P&gt;Since you have mentioned the word "user role", I want to clarify this&lt;/P&gt;&lt;P&gt;You have to understand the difference between Group, User and Role&lt;/P&gt;&lt;P&gt;Group and User to be created in both Linux(root user) and Hue(as admin user)&lt;/P&gt;&lt;P&gt;But Role to be created only in Hue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex: Login as root in Linux and apply below commands.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Group:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;groupadd hive;&lt;BR /&gt;groupadd hue;&lt;BR /&gt;groupadd impala;&lt;BR /&gt;groupadd analyst;&lt;BR /&gt;groupadd admin;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# In your case, your Group suppose to be..&lt;BR /&gt;Auditor, Read-Only, Limited Operator, Operator, Configurator, Cluster Administrator ,BDR Administrator, Navigator Administrator, User Administrator, Key Administrator, Full Administrator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;User:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;useradd kumar;&lt;BR /&gt;# User belongs to Group&lt;BR /&gt;usermod -a -G hive,hue,impala,admin,analyst kumar;&lt;BR /&gt;passwd kumar;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;# Role&amp;nbsp;assigned to Group:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Now, login to Hue -&amp;gt; Security(Menu)-&amp;gt; Sentry Tables -&amp;gt; Add Roles (as Hive user)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:38:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-the-following-user-roles/m-p/49380#M51430</guid>
      <dc:creator>saranvisa</dc:creator>
      <dc:date>2017-01-12T20:38:06Z</dc:date>
    </item>
  </channel>
</rss>

