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 ~]$

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

上一篇:剑指offer第49题:把字符串转换成整数


下一篇:49-python基础-python3-列表-常用列表统计函数-max()-min()-sum()