<?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 without AD in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412419#M253438</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/125116"&gt;@SLT_Clou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From UI we do not have a way to create a local superuser; you will need to do it from the CLI following the steps below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Connect to any of your Hue servers.&lt;/LI&gt;&lt;LI&gt;Run the below commands to create your superuser:&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;export HUE_CONF_DIR="/var/run/cloudera-scm-agent/process/`ls -lrt /var/run/cloudera-scm-agent/process | awk '{print $9}' | egrep -e '[[:digit:]]{1,3}\-hue\-HUE_SERVER' | tail -1`"&lt;/LI&gt;&lt;LI&gt;export HUE_IGNORE_PASSWORD_SCRIPT_ERRORS=1&lt;/LI&gt;&lt;LI&gt;export HUE_DATABASE_PASSWORD=hue (change this for your Hue backend DB password)&lt;/LI&gt;&lt;LI&gt;Then run the create superuser command:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;/opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue createsuperuser --username admin&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To access Hue using the new superuser, you need to apply a change in the Hue configuration:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;Access CM &amp;gt;&amp;gt; Hue &amp;gt;&amp;gt; Configuration&lt;/LI&gt;&lt;LI&gt;Look for&amp;nbsp;&lt;SPAN&gt;Authentication Backend&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Select the option "desktop.auth.backend.LdapBackend,desktop.auth.backend.AllowFirstUserDjangoBackend"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Restart Hue service.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After applying that change, when you access the Hue UI login page, you will see a drop-down box in which you can select between LDAP and Local authentication, use local, and then log in with the new superuser.&lt;/P&gt;&lt;P&gt;Hope the above steps are clear and you can fix your concern. If you have any questions, let me know.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 Sep 2025 04:33:29 GMT</pubDate>
    <dc:creator>rsanchez</dc:creator>
    <dc:date>2025-09-23T04:33:29Z</dc:date>
    <item>
      <title>Add Local User in HUE without AD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412395#M253429</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I need to know that can i add random user(not LDAPuser) in HUE without having AD user.&lt;/P&gt;&lt;P&gt;Please see the atatched image.it's avaiable only LDAP user&lt;/P&gt;&lt;P&gt;as well as i need to&amp;nbsp;Assign Roles/Permissions in apache ranger too&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SLT_Clou_0-1758518716144.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46324iD3EDFF6B636EA210/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SLT_Clou_0-1758518716144.png" alt="SLT_Clou_0-1758518716144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera manager version -&amp;nbsp;&lt;SPAN&gt;CDP 7.7.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:16:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412395#M253429</guid>
      <dc:creator>SLT_Clou</dc:creator>
      <dc:date>2026-04-21T06:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE without AD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412396#M253430</link>
      <description>&lt;P&gt;Please help me for the solution?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 10:32:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412396#M253430</guid>
      <dc:creator>SLT_Clou</dc:creator>
      <dc:date>2025-09-22T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE without AD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412419#M253438</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/125116"&gt;@SLT_Clou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From UI we do not have a way to create a local superuser; you will need to do it from the CLI following the steps below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Connect to any of your Hue servers.&lt;/LI&gt;&lt;LI&gt;Run the below commands to create your superuser:&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;export HUE_CONF_DIR="/var/run/cloudera-scm-agent/process/`ls -lrt /var/run/cloudera-scm-agent/process | awk '{print $9}' | egrep -e '[[:digit:]]{1,3}\-hue\-HUE_SERVER' | tail -1`"&lt;/LI&gt;&lt;LI&gt;export HUE_IGNORE_PASSWORD_SCRIPT_ERRORS=1&lt;/LI&gt;&lt;LI&gt;export HUE_DATABASE_PASSWORD=hue (change this for your Hue backend DB password)&lt;/LI&gt;&lt;LI&gt;Then run the create superuser command:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;/opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue createsuperuser --username admin&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To access Hue using the new superuser, you need to apply a change in the Hue configuration:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;Access CM &amp;gt;&amp;gt; Hue &amp;gt;&amp;gt; Configuration&lt;/LI&gt;&lt;LI&gt;Look for&amp;nbsp;&lt;SPAN&gt;Authentication Backend&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Select the option "desktop.auth.backend.LdapBackend,desktop.auth.backend.AllowFirstUserDjangoBackend"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Restart Hue service.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After applying that change, when you access the Hue UI login page, you will see a drop-down box in which you can select between LDAP and Local authentication, use local, and then log in with the new superuser.&lt;/P&gt;&lt;P&gt;Hope the above steps are clear and you can fix your concern. If you have any questions, let me know.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Sep 2025 04:33:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412419#M253438</guid>
      <dc:creator>rsanchez</dc:creator>
      <dc:date>2025-09-23T04:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE without AD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412420#M253439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for the respond. i have a super user as hdfs.i need to create normal local user?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 06:47:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412420#M253439</guid>
      <dc:creator>SLT_Clou</dc:creator>
      <dc:date>2025-09-23T06:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE without AD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412441#M253452</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/125116"&gt;@SLT_Clou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to create the local user using the command mentioned before. If hdfs user was created for hue as an admin, you can use it to access Hue UI with local authentication. If not, create a new superuser and then login with that to Hue.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 20:31:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412441#M253452</guid>
      <dc:creator>rsanchez</dc:creator>
      <dc:date>2025-09-23T20:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add Local User in HUE without AD</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412447#M253456</link>
      <description>&lt;P&gt;Thank you very much.i got your suggestion!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 10:48:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Local-User-in-HUE-without-AD/m-p/412447#M253456</guid>
      <dc:creator>SLT_Clou</dc:creator>
      <dc:date>2025-09-24T10:48:15Z</dc:date>
    </item>
  </channel>
</rss>

