<?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: Add Local User in HUE in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/389635#M247027</link>
    <description>&lt;P&gt;Hi, just for &lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;completeness&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; in case anyone has the same problem and gets here.&lt;BR /&gt;I was using the command in the response from &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt; but the error was because I was using the wrong version of Python 3.6, but this requires Python 3.8 or above.&lt;BR /&gt;After upgrading to Py3.8, the comand worked as expected, only with a couple of warnings as shown bellow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# ./build/env/bin/hue --cm-managed createsuperuser
/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p6.51045883/lib/hue/build/env/lib/python3.8/site-packages/oauth2/grant.py:320: SyntaxWarning: "is" with a literal. Did you mean "=="?
if isinstance(value, tuple) and len(value) is 2:
Username (leave blank to use 'root'): prueba_permisos
Email address: prueba_permisos@test.org
Password:
Password (again):
Superuser created successfully.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 15:57:14 GMT</pubDate>
    <dc:creator>lv_antel</dc:creator>
    <dc:date>2024-06-26T15:57:14Z</dc:date>
    <item>
      <title>Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/359308#M238071</link>
      <description>&lt;P&gt;How can we add Local Users in Hue when HUE is integrated with AD? Attempting to add a user using add/sync LDAP user returns an error stating no user found in LDAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have some users who are not on AD we would them to be added to HUE as Local Users. Have searched but could not get any information on this&lt;/P&gt;&lt;P&gt;CM 7.6.1&lt;/P&gt;&lt;P&gt;Cloudera Runtime - 7.1.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any input on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 11:50:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/359308#M238071</guid>
      <dc:creator>Amn_468</dc:creator>
      <dc:date>2022-12-10T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/359309#M238072</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32334"&gt;@Amn_468&lt;/a&gt;&amp;nbsp; Try with below commands to create local superuser accounts. Once created you can change user access level in Hue.&lt;/P&gt;&lt;PRE&gt;# cd /opt/cloudera/parcels/CDH/lib/hue
# ./build/env/bin/hue --cm-managed createsuperuser&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 13:38:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/359309#M238072</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2022-12-10T13:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/359567#M238152</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32334"&gt;@Amn_468&lt;/a&gt;,&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 13:11:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/359567#M238152</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2022-12-15T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/384904#M245555</link>
      <description>&lt;P&gt;This doesn't work in CDP 7.1.7. When using the previous command it will throw the following error:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Traceback (most recent call last):
  File "./build/env/bin/hue", line 14, in &amp;lt;module&amp;gt;
    load_entry_point('desktop', 'console_scripts', 'hue')()
  File "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/manage_entry.py", line 160, in 
entry
    empty, environment = envline.split("environment=")
ValueError: too many values to unpack&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:04:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/384904#M245555</guid>
      <dc:creator>lv_antel</dc:creator>
      <dc:date>2024-03-12T15:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/385400#M245697</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107266"&gt;@lv_antel&lt;/a&gt;&amp;nbsp;what is the complete command you are using? can you please share the complete stack trace?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 10:30:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/385400#M245697</guid>
      <dc:creator>tj2007</dc:creator>
      <dc:date>2024-03-22T10:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/389634#M247026</link>
      <description>&lt;P&gt;Y was using copy-paste of the comand in &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt; 's response. But the problem was this needs Python 3.8 or above and I was using Py3.6. After upgrading Py3 the comand worked perfectly.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 15:48:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/389634#M247026</guid>
      <dc:creator>lv_antel</dc:creator>
      <dc:date>2024-06-26T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/389635#M247027</link>
      <description>&lt;P&gt;Hi, just for &lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz JxVs2d ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;completeness&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; in case anyone has the same problem and gets here.&lt;BR /&gt;I was using the command in the response from &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt; but the error was because I was using the wrong version of Python 3.6, but this requires Python 3.8 or above.&lt;BR /&gt;After upgrading to Py3.8, the comand worked as expected, only with a couple of warnings as shown bellow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# ./build/env/bin/hue --cm-managed createsuperuser
/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p6.51045883/lib/hue/build/env/lib/python3.8/site-packages/oauth2/grant.py:320: SyntaxWarning: "is" with a literal. Did you mean "=="?
if isinstance(value, tuple) and len(value) is 2:
Username (leave blank to use 'root'): prueba_permisos
Email address: prueba_permisos@test.org
Password:
Password (again):
Superuser created successfully.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 15:57:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE/m-p/389635#M247027</guid>
      <dc:creator>lv_antel</dc:creator>
      <dc:date>2024-06-26T15:57:14Z</dc:date>
    </item>
  </channel>
</rss>

