Hi Edwards, Here is a procedure to reset the password: 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'. thanks mahadev On Wed, Sep 4, 2013 at 4:45 PM, Edwards, Jonathan < [email protected]> wrote: > > I've gone and forgotten my 'admin' password. What is the recommended approach to resetting the password (using the default postgres database)? I can't find anything in the documentation – I can't tell if the value in the database is hashed or encrypted. > > Jonathan Edwards > > Technical Architect > > Senior Systems Engineering Consultant > > > Staples, Inc. > 1 Environmental Way | Broomfield, CO 80021 > > > > Phone: 303.664.3256 (Desk) | 303.903.6240 (Cell) | E-Mail: [email protected] | Blog: joedward | Wiki:JonathanEdwards | IM: [email protected] > > > > The information contained in this email transmission and any attachments is intended only for the personal and confidential use of the designated named herein. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document and its attachment in error, and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original message immediately. Thank you. > > > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
