< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Reset the Account Password

Reset the Password of a Regular User

The administrator who has the permission to manage users can change an account password. On the Accounts page, click the account of which you need to change the password. On the detail page, select Change Password from the More drop-down list.

modify-password

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

Make sure you replace <USERNAME> and <YOURPASSWORD> with the account and the new password in the command before you run it.

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.