New password:
BAD PASSWORD: it is WAY too short
BAD PASSWORD: is too simple
解決:
1、修改/etc/login.defs
PASS_MIN_LEN 2
2、編輯/etc/pam.d/system-auth
把
password requisite pam_cracklib.so try_first_pass retry=3 type=
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok
password required pam_deny.so
改為
password sufficient pam_unix.so sha512 shadow nullok #try_first_pass use_authtok
說明:使用authconfig配置會覆蓋/etc/pam.d/system-auth中的內容。