Fedora-26-密码策略-vultr-修改

默认是最少8位,弱密码不会生效

修改成简单的策略


vim /etc/pam.d/system-auth
#password    requisite     pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type= enforce_for_root
password    requisite     pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type=