Many time by mistake root login also disabled because cphulkd and we are not able to access the WHM, we can temporary disable the cphulkd to access the WHM by using the following commands.
1st) Login in the server as a root user and run the command to disable cphulkd
/usr/local/cpanel/bin/cphulk_pam_ctl –disable
2nd) If the shell access is disabled then refer to the following syntax to disable the cphuld.
https://server-ip-address:2087/scripts2/doautofixer?autofix=disable_cphulkd