How To Reset Password Strength Configuration To Zero

mr.izzuddin

Member
PartnerNOC
Jun 16, 2009
10
0
51
Hello,

Im stuck with this problem. I changed the password strength from default value : 0 to 50. However after that setting is changed, i cannot login to whm anymore. Even i reset root passwd to a new passwd.

Help me!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please edit /var/cpanel/cpanel.config file in root SSH for these settings:

SecurityPolicy::PasswordAge=0
SecurityPolicy::PasswordAge::maxage=90
SecurityPolicy::PasswordStrength=1
SecurityPolicy::SourceIPCheck=0
SecurityPolicy::dnsclustering=0
SecurityPolicy::xml-api=0
Change the 1 to 0 for PasswordStrength, then restart cPanel:

Code:
/etc/init.d/cpanel restart
 

mr.izzuddin

Member
PartnerNOC
Jun 16, 2009
10
0
51
Hello Tristan,

I already vi /var/cpanel/cpanel.config but any SecurityPolicy is not there. The cpanel version is 11.26.20-STABLE_49708.

Thanks
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

Did you find this setting in /var/cpanel/cpanel.config to solve the issue?

minpwstrength=50

I was testing to try to figure out how to do this, but I only have 11.28 systems myself (11.26 systems don't have the security policy settings but they do have password strength). Knowing if that was what you did to fix it (by changing that to 0 and restarting cPanel) would be helpful.

Thanks :)
 

mr.izzuddin

Member
PartnerNOC
Jun 16, 2009
10
0
51
Hello,

Your first guide is the solution, and i did check on the wrong server before i noticed myself.

Thanks so much, you are very helpful!