Forked from dasgoll/Change Ambari default admin password
Last active
August 29, 2015 14:23
-
-
Save dvasilen/9022a7f2847d21e18607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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