网址:我就不分享了,涉及企业内部隐私 默认密码: cd /root/t-oceanbase-antman/tools ./getpass.sh omsmeta: k1uW0zr+JQ mysql -h172.200.60.22 -P2881 -uroot@ocp_meta -p OCP admin用户忘记找回 ocp admin用户登录密码遗忘,且system用户已被禁止登录,重置 admin 用户密码。 解决方法: 1. 激活 system用户 登录ocp_meta租户ocp库,将config_properties表 ocp.iam.account.system.active 改成 true ,该参数控制system账户是否被激活 。 MySQL [ocp]> select * from config_properties where `key`='ocp.iam.account.system.active'; MySQL [ocp]> update config_properties set value="true" where `key`='ocp.iam.account.system.active'; 如果system激活仍然不能登录,使用默认密码aaAA11__,仍然提示被锁定: MySQL [ocp]> UPDATE iam_user SET account_locked = 0, lock_expired_time = null, last_unlock_time = null WHERE username = 'system'; MySQL [ocp]> DELETE FROM iam_user_login_record WHERE username = 'system'; MySQL [ocp]> UPDATE iam_user SET account_locked = 0, lock_expired_time = null, last_unlock_time = null WHERE username = 'admin'; MySQL [ocp]> DELETE FROM iam_user_login_record WHERE username = 'admin'; admin 2. 登录system用户,修改admin用户密码 白屏修改,略。 更多信息: 关于ocp忘记密码标准处理方案 https://yuque.antfin-inc.com/hznvk9/zvuekw/gb3s66gdk3w8v6xs***** ========================= ocp的admin账户登录锁定
ocp admin登录锁定 这个报错是连续登录出错次数超限制(默认 5 次),超过连续登录次数后的锁定时间(默认 30 分钟) 这个解除限制需要登录 ocp_meta租户的ocp库 # cd /root/t-oceanbase-antman/tools [root@ocp02 tools]# ./getpass.sh sys: kmj}j6kVoh meta: }I1H3tDGkB monitor: 3@PD4jcxr@ sysmonitor: BI+8HbgRmn omsmeta: bTSpII8c}U odcmeta: hJ3i5e9nQ+ proxysys: 3}%xkiYbNY proxyro: yHdey4X^0+ [root@ocp02 tools]# mysql -h172.200.60.22 -P2881 -uroot@ocp_meta -p Enter password: 清除登录记录 DELETE FROM iam_user_login_record WHERE username = 'admin'; # 修正用户锁定状态 UPDATE iam_user SET account_locked = 0, lock_expired_time = null, last_unlock_time = null WHERE username = 'admin'; commit; root [ocp]> select * from profile_credential where secret like "%sys%obcluster_dev%"; root [ocp]> select password from iam_user where username = "system"; select * from profile_credential where secret like "%obcluster_dev%sys%"; select secret from profile_credential where secret like "%集群名%root%"; 您帮忙到ocp_meta租户的ocp库下面执行下这个sql,secret帮忙回传一下
标签:iam,username,登录,OceanBase,system,admin,OCP,ocp From: https://www.cnblogs.com/bayaim/p/18388008