问题:
centos7 环境下修改root密码报错如下:
BAD PASSWORD: it is too simplistic/systematic

解决:
编辑/etc/pam.d/system-auth
1、修改内容:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
为:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so nullok md5 shadow
password required pam_deny.so

Logo

更多推荐