From 89b16a9925d7d968177109ad9232bac09529603e Mon Sep 17 00:00:00 2001 From: Chris Moore <107723039+cwillum@users.noreply.github.com> Date: Wed, 5 Apr 2023 10:35:24 -0700 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 --- _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 d88c35d1..6b0a62b1 100755 --- a/_security/configuration/security-admin.md +++ b/_security/configuration/security-admin.md @@ -12,10 +12,11 @@ redirect_from: 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 3e8623d7..ecb457e6 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/). ---