<?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 Unable to login in ranger admin console | CDP 7.1.7 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352504#M236527</link>
    <description>&lt;P&gt;Hello Team,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have CDP Setup on premise and I am unable to login in ranger admin console.&lt;BR /&gt;Details&lt;BR /&gt;CDP: 7.1.7 | CM : 7.6.5 | Non Kerberised | Database : Mysql for all services&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried all the below ways&lt;BR /&gt;&lt;A href="https://cloudera.ericlin.me/2020/02/how-to-update-ranger-web-ui-admin-users-password/" target="_blank" rel="noopener"&gt;https://cloudera.ericlin.me/2020/02/how-to-update-ranger-web-ui-admin-users-password/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Ranger-Password-reset/m-p/280992" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Ranger-Password-reset/m-p/280992&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In my case table: x_portal_user under ranger database was empty set.&lt;BR /&gt;SO I manually inserted values for fields&lt;BR /&gt;insert into x_portal_user(id,first_name,login_id,password,status) values(1,'Admin','admin','ceb4f32325eda6142bd65215f4c0f371',1);&lt;BR /&gt;With the above query it got inserted into table. Then did FLUSH PRIVILEGES , commit steps in mysql database.&lt;/P&gt;&lt;P&gt;Also tried further insert one more insert statement like above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On Ranger Side configuration:&lt;BR /&gt;I have disable kerberos&lt;BR /&gt;Admin Authentication Method: Unix&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please help/suggest with the solution. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:49:58 GMT</pubDate>
    <dc:creator>dmharshit</dc:creator>
    <dc:date>2026-04-21T07:49:58Z</dc:date>
    <item>
      <title>Unable to login in ranger admin console | CDP 7.1.7</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352504#M236527</link>
      <description>&lt;P&gt;Hello Team,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have CDP Setup on premise and I am unable to login in ranger admin console.&lt;BR /&gt;Details&lt;BR /&gt;CDP: 7.1.7 | CM : 7.6.5 | Non Kerberised | Database : Mysql for all services&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have tried all the below ways&lt;BR /&gt;&lt;A href="https://cloudera.ericlin.me/2020/02/how-to-update-ranger-web-ui-admin-users-password/" target="_blank" rel="noopener"&gt;https://cloudera.ericlin.me/2020/02/how-to-update-ranger-web-ui-admin-users-password/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Ranger-Password-reset/m-p/280992" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Ranger-Password-reset/m-p/280992&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In my case table: x_portal_user under ranger database was empty set.&lt;BR /&gt;SO I manually inserted values for fields&lt;BR /&gt;insert into x_portal_user(id,first_name,login_id,password,status) values(1,'Admin','admin','ceb4f32325eda6142bd65215f4c0f371',1);&lt;BR /&gt;With the above query it got inserted into table. Then did FLUSH PRIVILEGES , commit steps in mysql database.&lt;/P&gt;&lt;P&gt;Also tried further insert one more insert statement like above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On Ranger Side configuration:&lt;BR /&gt;I have disable kerberos&lt;BR /&gt;Admin Authentication Method: Unix&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please help/suggest with the solution. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:49:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352504#M236527</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2026-04-21T07:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login in ranger admin console | CDP 7.1.7</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352561#M236541</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To resolve this issue, you will have to update Ranger’s backend database directly to reset the password you will need to write access to Ranger’s backend database.&lt;/P&gt;&lt;DIV class="ericl-content_2"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Using MySQL you know how to log into MySQL from either the command line&amp;nbsp;&lt;/P&gt;&lt;P&gt;The users who can access Ranger’s Admin Web UI, also call Portal, are stored in a table called “&lt;STRONG&gt;x_portal_user&lt;/STRONG&gt;“.&lt;/P&gt;&lt;DIV class="enlighter-default enlighter-v-standard enlighter-t-monokai enlighter-hover enlighter-linenumbers enlighter-overflow-scroll "&gt;&lt;DIV class="enlighter"&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;mysql&amp;gt; show tables;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;+------------------------------+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| Tables_in_ranger |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;+------------------------------+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| vx_trx_log |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| x_access_type_def |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;....&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| x_portal_user |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| x_portal_user_role |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;+------------------------------+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;67 rows in set (0.00 sec)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Query this table to confirm your Admin user is present in the table:&lt;/P&gt;&lt;DIV class="enlighter-default enlighter-v-standard enlighter-t-monokai enlighter-hover enlighter-linenumbers enlighter-overflow-scroll "&gt;&lt;DIV class="enlighter"&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;mysql&amp;gt; SELECT id, first_name, last_name, login_id, password, status \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;FROM x_portal_user WHERE login_id = 'admin';&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;+----+------------+-----------+----------+----------------------------------+--------+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| id | first_name | last_name | login_id | password | status |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;+----+------------+-----------+----------+----------------------------------+--------+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;| 1 | Admin | | admin | fdea9c9f5fabb9c4120b9834684f0ff0 | 1 |&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;+----+------------+-----------+----------+----------------------------------+--------+&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-text"&gt;1 row in set (0.00 sec)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The password corresponds to the hashed value of “fdea9c9f5fabb9c4120b9834684f0ff0”,&amp;nbsp; reset it to default value of “admin”, which has the hash value of “ceb4f32325eda6142bd65215f4c0f371”. Please run the below query:&lt;/P&gt;&lt;DIV class="enlighter-default enlighter-v-standard enlighter-t-monokai enlighter-hover enlighter-linenumbers enlighter-overflow-scroll "&gt;&lt;DIV class="enlighter"&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-k0"&gt;UPDATE&lt;/SPAN&gt;&lt;SPAN class="enlighter-text"&gt; x_portal_user &lt;/SPAN&gt;&lt;SPAN class="enlighter-k0"&gt;SET&lt;/SPAN&gt;&lt;SPAN class="enlighter-text"&gt; password = &lt;/SPAN&gt;&lt;SPAN class="enlighter-s0"&gt;'ceb4f32325eda6142bd65215f4c0f371'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN class="enlighter-k0"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN class="enlighter-text"&gt; login_id = &lt;/SPAN&gt;&lt;SPAN class="enlighter-s0"&gt;'admin'&lt;/SPAN&gt;&lt;SPAN class="enlighter-text"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;After that, just log into Ranger Web UI using “admin” as username and “admin” as password, then update the password IMMEDIATELY through web UI.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;BR /&gt;Geoffrey&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 20:10:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352561#M236541</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2022-09-17T20:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login in ranger admin console | CDP 7.1.7</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352822#M236603</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;updating the password option for&amp;nbsp;&lt;SPAN&gt;x_portal_user table option ---&amp;gt;This option I have already tried after inserting the values in empty set. But its in my case its not working&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 09:23:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352822#M236603</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2022-09-21T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login in ranger admin console | CDP 7.1.7</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352837#M236607</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 2 SQL inserts are not identical the latter only updates the password while the former user and password.&lt;/P&gt;&lt;P&gt;Prior to your update did your backup the table?&lt;/P&gt;&lt;P&gt;Geoffrey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 12:08:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/352837#M236607</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2022-09-21T12:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login in ranger admin console | CDP 7.1.7</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/366409#M239574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In case you have empty &lt;FONT face="courier new,courier"&gt;x_portal_user&lt;/FONT&gt; table, you can re-init your db with ranger init script "range_core_db_&amp;lt;db-type&amp;gt;.sql"&lt;BR /&gt;&lt;BR /&gt;Here is example command for mysql:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ mysql -h hostname -u user ranger &amp;lt; `locate ranger_core_db_mysql.sql`&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Restart Ranger then login with admin/admin.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 09:54:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-login-in-ranger-admin-console-CDP-7-1-7/m-p/366409#M239574</guid>
      <dc:creator>nur.majid</dc:creator>
      <dc:date>2023-03-19T09:54:29Z</dc:date>
    </item>
  </channel>
</rss>

