mirror of https://github.com/docker/docs.git
Add a note around DEBUG global log level
This commit is contained in:
parent
4ce156727e
commit
7ab6e1c74a
|
|
@ -4,27 +4,34 @@ description: Learn how to recover your Docker Enterprise Edition credentials.
|
||||||
keywords: ucp, authentication, password
|
keywords: ucp, authentication, password
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Change user passwords
|
||||||
|
|
||||||
|
### Managed in UCP
|
||||||
|
|
||||||
Docker EE administrators can reset user passwords managed in UCP:
|
Docker EE administrators can reset user passwords managed in UCP:
|
||||||
|
|
||||||
1. Log in to UCP with administrator credentials.
|
1. Log in to UCP with administrator credentials.
|
||||||
2. Click **Users** under **User Management**.
|
2. Navigate to **Access Control > Users**.
|
||||||
3. Select the user whose password you want to change.
|
3. Select the user whose password you want to change.
|
||||||
4. Select **Configure** and select **Security**.
|
{: .with-border}
|
||||||
|
4. Click **Edit**. Once on the "Update User" view, select **Security** from the left navigation.
|
||||||
5. Enter the new password, confirm, and click **Update Password**.
|
5. Enter the new password, confirm, and click **Update Password**.
|
||||||
|
|
||||||
Users passwords managed with an LDAP service must be changed on the LDAP server.
|
{: .with-border}
|
||||||
|
|
||||||
{: .with-border}
|
### Managed through LDAP
|
||||||
|
|
||||||
|
User passwords managed with an LDAP service must be changed on the LDAP server.
|
||||||
|
|
||||||
## Change administrator passwords
|
## Change administrator passwords
|
||||||
|
|
||||||
Administrators who need a password change can ask another administrator for help
|
Administrators who need to update their passwords can ask another administrator for help
|
||||||
or use **ssh** to log in to a manager node managed by Docker EE and run:
|
or SSH into a Docker Enterprise [manager node](/engine/swarm/how-swarm-mode-works/nodes/#manager-nodes) and run:
|
||||||
|
|
||||||
```none
|
```none
|
||||||
{% raw %}
|
{% raw %}
|
||||||
docker run --net=host -v ucp-auth-api-certs:/tls -it "$(docker inspect --format '{{ .Spec.TaskTemplate.ContainerSpec.Image }}' ucp-auth-api)" "$(docker inspect --format '{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}' ucp-auth-api)" passwd -i
|
docker run --net=host -v ucp-auth-api-certs:/tls -it "$(docker inspect --format '{{ .Spec.TaskTemplate.ContainerSpec.Image }}' ucp-auth-api)" "$(docker inspect --format '{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}' ucp-auth-api)" passwd -i
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
### Known issue with DEBUG Global Log Level
|
||||||
**Note**: If you are running in debug mode, the index 0 returns `--debug` instead of `--db-addr`. Make sure to exit debug mode before changing administrator passwords.
|
If you have `DEBUG` set as your global log level within UCP, running `$(docker inspect --format '{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}` returns `--debug` instead of `--db-addr`. Make sure to exit debug mode before changing administrator passwords.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue