Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvasilen/9022a7f2847d21e18607 to your computer and use it in GitHub Desktop.
Save dvasilen/9022a7f2847d21e18607 to your computer and use it in GitHub Desktop.
1. Stop Ambari server
2. Log on to ambari server host shell
3. Run 'psql -U ambari-server ambari'
4. Enter password **** (this password is stored in
/etc/ambari-server/conf/password.dat)
5. In psql:
update ambari.users set
user_password='538916f8943ec225d97a9a86a2c6ec0818c1cd400e09e03b660fdaaec4af29ddbb6f2b1033b81b00'
where user_name='admin'
6. Quit psql
7. Run 'ambari-server restart'
Note: The password used in step 5 is the encrypted form of 'admin'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment