Reset the Account Password
Reset the Password of a Regular User
-
Log in to the KubeSphere web console using the administrator who has the permission to manage users.
-
Click Platform on the upper-left corner and select Access Control. Click Users.
-
On the Users page, click the user of which you need to change the password to visit its details page.
-
On the details page, click More, and then select Change Password from the drop-down list.
-
On the displayed dialog box, enter a new password and confirm the password. Click OK after finished.
Reset the Administrator Password
Execute the following command on the host cluster to change the password of any account.
kubectl patch users <USERNAME> -p '{"spec":{"password":"<YOURPASSWORD>"}}' --type='merge' && kubectl annotate users <USERNAME> iam.kubesphere.io/password-encrypted-
Note
<USERNAME>
and <YOURPASSWORD>
with the username and the new password in the command before you run it.Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.