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.
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-
备注
Make sure you replace <USERNAME>
and <YOURPASSWORD>
with the account and the new password in the command before you run it.
当前内容版权归 KubeSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 KubeSphere .