오픈서치 admin 패스워드 변경
대시보드에서 수정할 수 없고, 스크립트로만 수정해야 합니다.
마스터 노드의 터미널 접속
패스워드 생성 (제공되는 tool 스크립트 이용)
cd /usr/share/opensearch/plugins/opensearch-security/tools
./hash.sh -p <new_password>
# example - output
sh-5.2$ ./hash.sh -p dhvmstjcl!
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755 **
**************************************************************************
$2y$12$8CL1a9FLy1JwNe5q6yudZuTtzs/9.hkxvk1WnInwOV16JV3P3RoC6현재 설정 로드
// Some code./securityadmin.sh -backup my-backup-directory \
-icl \
-nhnv \
-cacert ../../../config/admin/ca.crt \
-cert ../../../config/admin/tls.crt \
-key ../../../config/admin/tls.key설정을 변경하고 반영 스크립트 수행
Last updated