Skip to main content

Creating second WHM user with root privileges

In this guide we will show how to create second user with root privilleges in your WHM

Updated over a week ago

1. Create User Via SSH

In order to have more than one user with root privileges to handle WHM as a Reseller, there are several steps to take. You should login to your server via SSH and use these commands below:
​

useradd secondroot
passwd secondroot
usermod -aG wheel secondroot
echo "secondroot:all" >> /var/cpanel/resellers

Please take a note that "secondroot" should be changed into your wanted username.

2. Adjust Privileges

After performing the commands login into your WHM with root credentials and do the following:

1. FInd "Resellers" in the WHM search

2. Press on "Resellers";

3. Then press "Edit Reseller Nameservers and Privileges".


Here check all the settings for the new user in ACL the same as your root user has:

Then save changes.

After saving the settings, you can login with your new user via WHM:

Did this answer your question?