In my case table: x_portal_user under ranger database was empty set. SO I manually inserted values for fields insert into x_portal_user(id,first_name,login_id,password,status) values(1,'Admin','admin','ceb4f32325eda6142bd65215f4c0f371',1); With the above query it got inserted into table. Then did FLUSH PRIVILEGES , commit steps in mysql database.
Also tried further insert one more insert statement like above.
On Ranger Side configuration: I have disable kerberos Admin Authentication Method: Unix
The password corresponds to the hashed value of “fdea9c9f5fabb9c4120b9834684f0ff0”, reset it to default value of “admin”, which has the hash value of “ceb4f32325eda6142bd65215f4c0f371”. Please run the below query:
UPDATE x_portal_user SET password = 'ceb4f32325eda6142bd65215f4c0f371'
WHERE login_id = 'admin';
After that, just log into Ranger Web UI using “admin” as username and “admin” as password, then update the password IMMEDIATELY through web UI.