Reset Ranger Password

forgot the username and password

https://community.hortonworks.com/content/supportkb/49508/how-to-change-grafana-admin-password-when-the-pass.html

Ranger UI password missing after switching the UI authentication

https://community.hortonworks.com/questions/4408/is-there-any-way-to-reset-ranger-admin-ui-password.html

1
vi /var/lib/pgsql/data/pg_hba.conf

add below line to give access,

1
local all angerdba trust
1
psql rangerdb -U rangerdba
1
update x_portal_user set password = 'ceb4f32325eda6142bd65215f4c0f371' where login_id = 'admin';
Reward Makes Perfect
0%