Centos7系统修改密码报错记录

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7系统修改密码报错记录相关的知识,希望对你有一定的参考价值。

报错信息:passwd: Have exhausted maximum number of retries for service
详细信息:

[root@VM_2_49_centos /zhangsan]# echo magedu1|  passwd --stdin nginx
Changing password for user nginx.
passwd: Have exhausted maximum number of retries for service

解决办法:

echo ‘nginx:magedu‘|chpasswd

验证过程:

[root@VM_2_49_centos /zhangsan]# ssh nginx@9.134.2.49 -p36000
The authenticity of host ‘[9.134.2.49]:36000 ([9.134.2.49]:36000)‘ can‘t be established.
ECDSA key fingerprint is 2d:9e:af:73:aa:92:5f:3d:72:c2:65:4f:55:43:65:3a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘[9.134.2.49]:36000‘ (ECDSA) to the list of known hosts.
nginx@9.134.2.49‘s password: 
Welcome to tlinux 2.2 64bit
Version 2.2 20180528
tlinux2.2-tvm-64bit-3.10.107-1.0047

Work hard, this time can‘t give up
Thu Aug 22 11:31:38 CST 2019
basename: invalid option -- ‘b‘
Try ‘basename --help‘ for more information.
dirname: invalid option -- ‘b‘
Try ‘dirname --help‘ for more information.
welcome to tencent
[nginx@VM_2_49_centos ~]$

备注:原因暂时没找到,后续找到再记录

以上是关于Centos7系统修改密码报错记录的主要内容,如果未能解决你的问题,请参考以下文章

CentOS/RHEL7忘记密码:修改root密码

CentOS/RHEL7忘记密码:修改root密码

修改mysql密码和centos7密码

centos7系统忘记root用户密码,如何修改

centos7.2下2种密码修改方法(验证可行)

Centos7系统忘记root密码修改