[qiuyuetao@qyt-devops root]$ cat /etc/pam.d/system-auth
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok remember=10
[qiuyuetao@qyt-devops root]$ cat /etc/pam.d/system-auth
password requisite pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type=
原文:http://blog.51cto.com/qiuyt/2155614