使用命令passwd修改密码时,遇到如下问题:

# echo 'utf8'|passwd zhangsan --stdin
Changing password for user zhangsan.
passwd: Have exhausted maximum number of retries for service

 


可以尝试改用密码chpasswd修改zhangsan的密码:

echo 'zhangsan:utf8' |chpasswd

 

 

转自

passwd: Have exhausted maximum number of retries for service - CSDN博客

https://blog.csdn.net/Aquester/article/details/51075736

相关文章: