我们如何实现密码策略的要求?

我们如何实现密码策略的要求?

这个问题可能看起来很相似,但我找不到涵盖该政策以下所有要求的解决方案,因此请帮助我:

  - Incorrect pass lockout (after 3 incorrect attempts user shall be locked out for 10 mins)
  - Duration of lockout ( As mentioned in the above point i.e. 10 mins)
  - Minimum length (8)
  - Maximum length (32)
  - Complexity : Minimum 2 small letters
  - Complexity : Minimum 2 Capital letters
  - Complexity : Minimum 2 Numeric digits
  - Complexity : Minimum 2 Special characters
  - Password History ( Must not accept any of the last 10 passwords)
  - No reverse passwords (for ex: if earlier it was TesT@123$ then, it should not take $321@TseT)
  - No incremental passwords (for ex: if earlier it was TesT@123$ then, it should not take TesT@1234$ or TesT@456$ or TesT@234$, etc.. )
  - Must not accept any Dictionary words

提前致谢!!

在浏览了大量网站后,我对 PAM 身份验证有了一点了解

点击这里查看我的 /etc/pam.d/common-password 文件

但它仍然无法正常工作,并给出了一些错误:

点击这里查看身份验证日志:

我尝试过很多组合,但都没有成功

有人可以帮我解决我错在哪里吗?

相关内容