cPanel / WHM allows you to setup Security Policies for cPanel/whm login page.
If you have configured Security Policies with security questions and you forgot it’s answers, you will not able to login to cPanel / WHM.
Please perform the following steps to disable security questions via the command line :
- Use SSH to log in to your server with
- Open the
/var/cpanel/cpanel.configfile in your preferred text editor.
- Change the value of the
- Save and exit the file.
- Run the
/scripts/restartsrv cpanelcommand to restart cPanel & WHM service.