본문 바로가기
개발 관련

elasticsearch 비밀번호 잃어버렸을때 대처법

by 더블와이 2025. 3. 18.
728x90

1. cmd 창 실행

 

2. 엘라스틱 서치 설치되어있는 파일에 접속한다

cd C:\elasticsearch-8.17.3\elasticsearch-8.17.3\bin

 

3. 비밀번호 초기화 command 실행

.\elasticsearch-reset-password

그냥/ 아니고 \ 이거다

4. 비밀번호 리셋 성공 멘트

Resets the password of users in the native realm and built-in users.

 

 

(수정)

 

5. 해당 멘트 실행

.\elasticsearch-reset-password -u elastic

초기 생성 ID는 elastic이기 때문에 elastic으로 지정한다

 

6. 완료 멘트 확인하기

user to an autogenerated value.
The password will be printed in the console.

 

진짜 끝

728x90