开发者

How to configure pam in linux such that the login id and password should not be same?

How开发者_运维问答 to configure pam in linux such that the login id and password should not be same?


Install passwdqc module in the next way using Ubuntu:

$sudo apt-get install libpam-passwdqc

After that, modifies the /etc/pam.d/common-password file adding the next line at the begining:

password        requisite       pam_passwdqc.so config=/etc/passwdqc.conf

And add to /etc/passwdqc.conf file:

similar=deny
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜