Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- shared_preload_libraries
- 무선 디버깅
- golang
- Flutter
- option pattern
- User
- rc-service
- AnimatedPositioned
- 맥미니
- 윈도우즈 터미널
- openrc
- otel
- vscode
- elasticSearch
- user-secrets
- pg_stat_statements
- Android
- SQL Server
- mysql
- 옵션 패턴
- go
- IDX Project
- log
- opentelemetry
- Linux
- module upgrade
- docker
- DotNet
- sqlc
- version 2
Archives
- Today
- Total
CATCHV Blog
elasticsearch 8.x build-in user password change 본문
반응형
es의 8.x 부터는 elasticsearch-setup-passwords 는 사용하지 말라고 나온다.
그리고 RPM 또는 dnf로 es를 설치 하면 elasticsearch-setup-passwords을 실행 할 수가 없다.(이건 처음 한번만 사용 가능)
그래서 계정의 패스워드를 변경하려면 elasticsearch-reset-password 를 사용해야 한다.
# 자동 패스워드 생성
./elasticsearch-reset-password -u apm_system
./elasticsearch-reset-password -u kibana_system
./elasticsearch-reset-password -u kibana
./elasticsearch-reset-password -u logstash_system
./elasticsearch-reset-password -u beats_system
./elasticsearch-reset-password -u remote_monitoring_user
./elasticsearch-reset-password -u elastic
# 패스워드 입력 생성
./elasticsearch-reset-password -i -u apm_system
./elasticsearch-reset-password -i -u kibana_system
./elasticsearch-reset-password -i -u kibana
./elasticsearch-reset-password -i -u logstash_system
./elasticsearch-reset-password -i -u beats_system
./elasticsearch-reset-password -i -u remote_monitoring_user
./elasticsearch-reset-password -i -u elastic
반응형
'Dev > elasticsearch' 카테고리의 다른 글
Kibana server is not ready yet. (0) | 2024.02.08 |
---|---|
[elasticsearch] Connection error!socket hang up, Empty reply from server (0) | 2023.02.28 |
Comments