If you have the shell access to cPanel server through SSH Key pair and you want to access WHM without knowing root password then this post will help you.
With the help of “WHMAPI1” utility we can create a temporary WHM root session by using the following command :
[email protected] [~]# whmapi1 create_user_session user=root service=whostmgrd locale=en
Above command will generate URL.
Copy that WHM URL and put it in the browser, you should be able to access WHM without root password. This will be a one time user session to access the WHM.
If you would like to access the reseller WHM account simply replace the ‘user’ name as the reseller account username from the root.
[email protected] [~]# whmapi1 create_user_session user=reseller service=whostmgrd locale=en
If you need any further assistance please do contact our support department at [email protected]