问题

reset_admin_password.py命令不起作用

  • 2018年9月7日
  • 2回答
  • 8的观点

该命令应用了更改,并回答说它将管理密钥配置为默认模式,但访问仍然不起作用
用户:管理员
密码:admin

本主题已关闭供评论

2回答

Userlevel 7
徽章 + 25
看看这个py文件的内容。我知道实现的密码复杂度要求使“admin”无效,因此需要更改重置pw。我忘记了它是什么(可能是nutanix4u)在脚本中,但它确实为我工作了一点。
Userlevel 6
徽章 + 16
@ahion这个命令应该工作:

代码:
Ncli user reset-password user-name=admin password=new_password
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu