From 61b88138ccf4a68925c4c167ea6f5ca716eb5abc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 5 Apr 2023 17:35:48 +0000 Subject: [PATCH] Add path to the script for the securityadmin.sh troubleshooting topic (#3645) * fix missing securityadmin path Signed-off-by: cwillum * fix missing securityadmin path Signed-off-by: cwillum * fix missing securityadmin path Signed-off-by: cwillum * fix missing securityadmin path Signed-off-by: cwillum * fix missing securityadmin path Signed-off-by: cwillum --------- Signed-off-by: cwillum (cherry picked from commit 89b16a9925d7d968177109ad9232bac09529603e) Signed-off-by: github-actions[bot] --- _security/configuration/security-admin.md | 5 +++-- _troubleshoot/security-admin.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_security/configuration/security-admin.md b/_security/configuration/security-admin.md index f9f284faabc..b68718dc726 100755 --- a/_security/configuration/security-admin.md +++ b/_security/configuration/security-admin.md @@ -10,10 +10,11 @@ nav_order: 25 On **Windows**, use **securityadmin.bat** in place of **securityadmin.sh**. For more information, see [Windows usage](#windows-usage). {: .note} -The Security plugin stores its configuration—including users, roles, permissions, and backend settings—in a [system index]({{site.url}}{{site.baseurl}}/security/configuration/system-indices) on the OpenSearch cluster. Storing these settings in an index lets you change settings without restarting the cluster and eliminates the need to edit configuration files on every individual node. This is accomplished by running the `securityadmin.sh` script. The script can be found at `plugins/opensearch-security/tools/securityadmin.sh`. +The Security plugin stores its configuration—including users, roles, permissions, and backend settings—in a [system index]({{site.url}}{{site.baseurl}}/security/configuration/system-indices) on the OpenSearch cluster. Storing these settings in an index lets you change settings without restarting the cluster and eliminates the need to edit configuration files on every individual node. This is accomplished by running the `securityadmin.sh` script. -The first job of the script, however, is to initialize the `.opendistro_security` index. This loads your initial configuration into the index using the configuration files in `config/opensearch-security`. After the `.opendistro_security` index is initialized, you can use OpenSearch Dashboards or the REST API to manage your users, roles, and permissions. +The first job of the script is to initialize the `.opendistro_security` index. This loads your initial configuration into the index using the configuration files in `/config/opensearch-security`. After the `.opendistro_security` index is initialized, you can use OpenSearch Dashboards or the REST API to manage your users, roles, and permissions. +The script can be found at `/plugins/opensearch-security/tools/securityadmin.sh`. This is a relative path showing where the `securityadmin.sh` script is located. The absolute path depends on the directory where you've installed OpenSearch. For example, if you use Docker to install OpenSearch, the path will resemble the following: `/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.sh`. ## A word of caution diff --git a/_troubleshoot/security-admin.md b/_troubleshoot/security-admin.md index 5dfff33c132..66a527e26df 100644 --- a/_troubleshoot/security-admin.md +++ b/_troubleshoot/security-admin.md @@ -6,7 +6,7 @@ nav_order: 10 # securityadmin.sh Troubleshooting -This page includes troubleshooting steps for `securityadmin.sh`. +This page includes troubleshooting steps for `securityadmin.sh`. The script can be found at `/plugins/opensearch-security/tools/securityadmin.sh`. For more information about using this tool, see [Applying changes to configuration files]({{site.url}}{{site.baseurl}}/security/configuration/security-admin/). ---