Software >> OS >> Unix >> Linux >> RHEL >> 7 >> How to disable password complexity

edit /etc/pam.d/system-auth

and modify the following line

from

password    requisite     pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type=

to

password    requisite     pam_pwquality.so ucredit=0 lcredit=0 ocredit=0 dcredit=0 try_first_pass local_users_only retry=3 authtok_type=