[cPanel/WHM] Creating second WHM user with root privileges

Regina
Regina
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. After performing the commands login into your WHM with root credentials and do the following:

1. Go to "Home";

2. Press on "Resellers";

cPanel Resellers

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

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

cPanel ACL

After saving the settings, you can login with your new user via WHM.
Sign In or Register to comment.
© 2013 - 2017 Time4VPS. All rights reserved. Powered by Vanilla
The opinions or views of users on the forum are those of the author and not of Time4VPS.