我爱帮助网--QQ交流群号

Nas交流与矿渣群(unraid 群晖 猫盘 蜗牛等):372167400         物联网/智能家居群:518812757             帮助教程:手册大全

软件使用与建站群:1057308983      虚拟化交流群:13448651

Esxi 6.5 6.7的root密码经过一段时间就不可用的解决方法

2020-03-10 08:00:00
Legion博客
转贴:
https://www.dwhd.org/20190513_150916.html
6604

摘自:Legion博客


出现这个问题的的现象是:root密码不管是ssh 还是web管理都提示密码不对,但是谁也没修改密码,出现这个现象是因为esxi6 开始引入了root账户锁功能,在登录失败次数达到一定量的时候(默认是5次)开始有900秒的锁定账号时间,这个时间是累加的。

所以当你esxi的管理ip是公网可访问IP的时候就遭殃了。

在高级设置里面把Security.AccountLockFailures的值改为0就可以
Esxi 6.5 6.7的root密码经过一段时间就不可用的解决方法
关闭Security.AccountLockFailures这个选项就可以解决这个问题,但是不建议这样做,因为这样很不安全。

曲线解决方法:

配置esxi的ssh秘钥,秘钥文件在/etc/ssh/keys-root/authorized_keys,当配置好esxi秘钥后,出现root账户锁定情况的时候,就直接用秘钥登录系统,然后重启下ssh进程就可以了。当然这个也不是稳妥的解决方法,因为你阻止不了别人暴力跑你的密码。

最正确的解决方法:

配置防火墙,让只有特定授权的IP去访问

Esxi 6.5 6.7的root密码经过一段时间就不可用的解决方法


其它相关解决办法 (知母康)

Esxi6正确密码远程登录报用户名或密码错
 
现象:主控台DCUI登录正常,同样的密码在web端或vsphere client无法登录。
解决方法1: 
进入主控台的trouble shooting, 关闭ssh,重启管理控制台agent
解决方法2:
进入主控台重置所有配置,重启主机后,重新配置IP;进入vsphere client设置密码。

Locked out of ESXi 6.0 host, but can login to console. How to grant access via ESXCli
vSphere Client says i have wrong password
For some unknown reason after a while I am unable to log into the vmware with vSphere Client. I get the error that I am using the wrong username or password. If i go onto the host esxi and log in with same password, then restart the managament, then all is good. I have tried searching for why this is happening, but cannot seem to figure this out.
 
I have also reinstalled VMware to see if that helped, but the same problem occured on that as well. On the other hand I am able to use the VMs trough TeamViewer when not beeing able to use vSpehere Client. 

0
网络知识
Nas_矿渣刷机
热门文章
物联网
电脑知识
人工智能
虚拟化
网站开发
发表评论
评论通过审核后显示。
文章分类
联系我们
联系人: 王先生