search

Home  >  Q&A  >  body text

Linux怎么取消BAD PASSWORD: it is too simplistic/systematic 设置?

今天登录Linux系统,切到root用户,竟然要强制修改密码。密码一直设置不对,错误提示是:
BAD PASSWORD: it is too simplistic/systematic ,网上说是 etc/pam.d/passwd 配置问题,打开了不知道怎么改。 求大神,怎么解决或者取消这个校验

高洛峰高洛峰2873 days ago2368

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:33:21

    sudo passwd It seems ok

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:33:21

    As long as the letters are not consecutive or the numbers are not consecutive, for example, abc will not work, acd will work, and so on. At the same time, the password should not be the same as the user name, and the length should not be less than 5. You can check the configuration file /etc/login.defs

    reply
    0
  • Cancelreply