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
精彩评论