解决方案:
DPA8.1.0及以后版本申请下载密码重置工具:CDM_8.0.1.7_Reset_Password_Tool.zip
链接地址:
1 企业链接:https://support.huawei.com/enterprise/zh/software/255171491-ESW2000472643
操作步骤:
步骤1 将工具解压缩,得到reset_password.pyc,上传拷贝到DPA任意目录,如根目录/;
步骤2 获取db-ip,登录DPA后台,root用户执行cat /opt/CDMServer/install.cfg|grep db-ip,获取db-ip;
步骤3 在DPA后台该工具所在目录命令行执行:/opt/CDMServer/virtualenv3/bin/python reset_password.pyc (这个是一条完整的命令)
步骤4 Please enter the version:(0/1/2/3/4/5/6/7)
>>7
Please enter the product:(Huawei)
>>Huawei
Please input DB_VIP:
>>x.x.x.x(实际dp-ip)
Please input user name:
>>xx(需要解锁或者重置的系统用户)
Please function Selection: 1. Password Reset; 2. User Unlock.(1/2)
>>1
Please input new password:
>>Password***
Please input repeat password:
>>Password***
The password begins to be encrypted...
Password encryption completed...
Password reset successfully