In this post,we will learn how to access WHM without password.
Yes, it is possible. But the condition is, you must have SSH access to the server.
Here is the solution:
Login to your server via SSH and execute the below command:
whmapi1 create_user_session user=root service=whostmgrd
Once you execute the above command, you will get a temporary URL. Copy the URL and access it in your browser. You will be able to access WHM without any issue.
whmapi1: It is a API of WHM, which uses all the features of the WHM. For more detailed explanation, refer cPanel documentation.
whostmgrd: It is a service for WHM. Below are some services in cPanel server.
Web Disk (cpdavd)
NOTE: Once you logged out from WHM, the session will expire. To access WHM again, you need to create the session once again by the same command.
Access WHM of reseller account “shekhar”:
Use the below command to access WHM for a reseller account:
whmapi create_user_session user=shekhar service=whostmgrd
Note: WHM API will be whmapi for reseller and whmapi1 for root.
If you have any doubt, feel free to let me know. I will be more than happy to assist you.
My name is Shashank Shekhar. I am a Software Engineer, currently working in one of the leading web-hosting companies in India. I am having 2 years of experience in Linux Server Administration.
I love to work in Linux environment & love learning new things.
Powered by Facebook Comments