zowe/zebra

ZEBRA user admin - initial user/password

fernandozangari opened this issue · 12 comments

I downloaded the new dev version but when I try the user Admin/Admin it fails, which is the default user/pswd, because I don´t find in the documentation how to solve it. Thanks

Hi @fernandozangari - thanks for opening this issue, we also find it yesterday and @salisbuk7897 will take a look at this.

thanks,

Alex

Hi @fernandozangari , do you have/create .env file in zebra src directory when you clone from zebra_dev? This file is needed to run the zebra authentication system. it should have this two variables with any value of your choice
ACCESS_TOKEN =

REFRESH_TOKEN =

e.g
ACCESS_TOKEN = fa2231487d37f2b0c820c07b3c961ee5b71596a3dc8e46273b74baed3508812fb81156605a6a15142616d3b64526cb8b90de4a347d403303b81803633ec7a33c

REFRESH_TOKEN = e98f94479a3745cd96f271c929e5eea3380591ba074011c4811755e2e9504c097cd8dbfb4c46ab21f29a6e0059490c44274c947f9ecac77a7199463d91dd5922

I create a file create.env (adjunct create_env.txt renamed beause git doesn´t accept extention env
create_env.txt
) but the situation is the same, which is the default user/pswd or a way to reset it? Thanks

The default user is Admin/Admin

Thanks

It continues with Login Failed, it seems like in some place, even if I install new versions of Zebra, allways validates to the same usr/pswd.
Is there a way to reset the password?

Yes. The default user/pwd is automatically built into zebra, it's created and saved in my.db in the src folder. For now, there is no way to reset user/pwd. You can only delete my.db and when you restart zebra, a new account with user/pwd as Admin/Admin will be created.

When I tried zebra_dev today, I realized it will allow Admin/Admin to work, it will redirect to change password page. After changing the password, zebra will crash.. that's because of the missing .env file. But the new password will be saved into my.db. so after creating .env and restarting zebra, I was able to login with my new password.

I have the file create.env created, delete my.db but when I try to change the Admin password Zebra crash.

Okay. Try deleting create from create.env , just leave the filename as .env hopefully that will solve the problem

OK, now is running!! Thanks a lot!

You are welcome @fernandozangari

Re-opening this to address this issue from code level but not by work-around.

solved with issue #54