Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

how to change default Atlas UI admin password

avatar
Contributor

Hello, I try to change the default Atlas admin UI password using following steps but it does not work.


Step 1: Generate the sha256 password string
# echo -n "Password" | sha256sum
e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a

Step 2: Modify the users-credentials.properties file
# /etc/atlas//0/users-credentials.properties
#username=group::sha256-password
admin=ADMIN::e7cf3ef4f17c3999a94f2c6f612e8a888e5b1026878e4e19398b23bd38ec221a <---- replace this string
rangertagsync=RANGER_TAG_SYNC
::e3f67240f5117d1753c940dae9eea772d36ed5fe9bd9c94a300e40413f1afb9d

Note: Replace sha256 string which was generated in step one.

Step 3: Navigate to Ambari and restart the Atlas service.

Step 4: Login with the new password.

But it does not work. Any instructions or missing step in the above procedure. Thank you.

6 REPLIES 6

avatar
Expert Contributor

@Vishal Gupta

Try adding new user entry to /etc/atlas/conf/users-credentials.properties file and then restart Atlas from Ambari and check the Atlas login

HTH

avatar
Contributor

Hello Nixon, I am not adding new user. I am trying to change the password for the existing admin user. I change the user-credentials.properties file but no success. Thanks for offering the help.

avatar
Expert Contributor

@Vishal Gupta,

I was able to login with password for admin user in /etc/atlas/conf/users-credentials.properties file.

Ensure that you are doing it same host where Atlas server is running, users-credentials.properties file is present on all HDP hosts.

avatar
Contributor

we can change the password in advanced atals-env in the atlas configurations in ambari.

avatar
Expert Contributor

In a cluster managed by Ambari, the Atlas admin password for the File Authentication mode must be changed from inside Ambari Server or it will be rewritten after a service restart. This value may be found in section Configs-> Advanced -> Advanced atlas-env -> Admin password

as shown in the image bellow

92418-atlas-admin-password.png

avatar
Contributor

It works for me