开发者

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

开发者 https://www.devze.com 2023-01-09 08:49 出处:网络
How开发者_运维问答 to configure pam in linux suchthat the login id and password should not be same?Install passwdqc module in the next way using Ubuntu:

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

精彩评论

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