linux - need to one more thing mini length =8 -
this pam file here per-package modules (the "primary" block)
password required pam_cracklib.so difok=1 minlen=8 dcredit=-1 ucredit=-1 ocredit=-1 lcredit=0 password [success=1 default=ignore] pam_unix.so use_authtok sha512
here's fallback if no module succeeds
password requisite pam_deny.so
prime stack positive return value if there isn't 1 already; avoids returning error because nothing sets success code since modules above each jump around
password required pam_permit.so
and here more per-package modules (the "additional" block)
password optional pam_gnome_keyring.so
end of pam-auth-update config
Comments
Post a Comment