使用命令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

有可能就可以了

相关文章:

  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
  • 2022-02-04
猜你喜欢
  • 2021-06-17
  • 2022-01-06
  • 2021-11-13
  • 2022-12-23
  • 2021-07-24
  • 2021-07-24
  • 2022-12-23
相关资源
相似解决方案