docs/ee/ucp/authorization/_site/reset-user-password.html

25 lines
1.2 KiB
HTML

<p>Docker EE administrators can reset user passwords managed in UCP:</p>
<ol>
<li>Log in to UCP with administrator credentials.</li>
<li>Click <strong>Users</strong> under <strong>User Management</strong>.</li>
<li>Select the user whose password you want to change.</li>
<li>Select <strong>Configure</strong> and select <strong>Security</strong>.</li>
<li>Enter the new password, confirm, and click <strong>Update Password</strong>.</li>
</ol>
<p>Users passwords managed with an LDAP service must be changed on the LDAP server.</p>
<p><img src="../images/recover-a-user-password-1.png" alt="" class="with-border" /></p>
<h2 id="change-administrator-passwords">Change administrator passwords</h2>
<p>Administrators who need a password change can ask another administrator for help
or use <strong>ssh</strong> to log in to a manager node managed by Docker EE and run:</p>
<pre><code class="language-none">
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
</code></pre>