MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on April 30, 2015, 03:59:21 PM

Title: How to disable the security questions in WHM cPanel?
Post by: Dipak Bhoi on April 30, 2015, 03:59:21 PM
Hello folks,

If you have enabled the security questions in whm and forgot the answers then don't worry. You can disable this feature via ssh. Follow the below steps:

1. Login to your server using Shell over root access.

2. Open cpanel configuration file /var/cpanel/cpanel.config

Quoteroot@X[~]# vi /var/cpanel/cpanel.config

3. Change the below Values to 0


QuoteSecurityPolicy::PasswordAge=0
SecurityPolicy::PasswordStrength=0
SecurityPolicy::SourceIPCheck=0
SecurityPolicy::dnsclustering=0

4. Save the file and restart the cPanel service.

Quoteroot@X[~]# /etc/init.d/cpanel restart

That's all, now you can directory access WHM.

Enjoy !!!! :) :)