Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] securityadmin and hash scripts do not work in Windows #2368

Closed
Docubytes opened this issue Dec 23, 2022 · 4 comments · Fixed by #2371
Closed

[BUG] securityadmin and hash scripts do not work in Windows #2368

Docubytes opened this issue Dec 23, 2022 · 4 comments · Fixed by #2371
Labels
bug Something isn't working windows

Comments

@Docubytes
Copy link

I am trying to reset password using hash.bat file on windows system but it is not working i am getting the following error, could you please help me? or suggest me how to reset admin password

image

i think it looking for Open Distro folder which i can't see on openserach folder

@Docubytes Docubytes added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Dec 23, 2022
@cwperks
Copy link
Member

cwperks commented Dec 23, 2022

@opensearch-project/transfer-request Can someone move this to the security repo?

@tlfeng tlfeng added the Security Security Related Issues label Dec 27, 2022
@dblock dblock transferred this issue from opensearch-project/OpenSearch Dec 30, 2022
@peternied peternied changed the title [BUG] I am trying to reset password using hash.bat file on windows system but it is not working [BUG] securityadmin and hash scripts do not work in Windows Jan 4, 2023
@peternied
Copy link
Member

@Docubytes Thanks for filing, these scripts were missed when we added support for windows - thanks for catching this.

@peternied peternied added windows and removed Security Security Related Issues untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jan 4, 2023
peternied added a commit to peternied/security that referenced this issue Jan 4, 2023
@Docubytes
Copy link
Author

Could you please provide me scripts through some url or share folder so I can add it to my application?

@peternied
Copy link
Member

peternied commented Jan 4, 2023

@Docubytes Checkout the pull request I just created, it has the modifications you can apply on top of the batch file(s) locally to get unblocked.

I suspect that you might need to set JAVA _HOME based on the error message posted in this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants