Creating a new root user login for Server Management Company

mealto

Well-Known Member
Oct 20, 2006
175
0
166
Is there a way to create a new WHM login so we can give this out to the server management company?

We have created a separate SSH login for them and was wondering how we do the same for WHM/Cpanel?
 

_Sam_

Well-Known Member
Feb 24, 2007
79
0
156
Hi,
You could create a reseller account and give it all permissions :)
 

mealto

Well-Known Member
Oct 20, 2006
175
0
166
That is a good idea. Never thought about that. Is there a quick tutorial on how to do this?

We have created a login on the SSH side, will the server management company be able to see the password for the new reseller or even the root cpanel login?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
That is a good idea. Never thought about that. Is there a quick tutorial on how to do this?
It's actually very easy. First create a user (cPanel) account with the login information (user/pass) in WHM. Next, in the WHM interface, where you create resellers (Resellers -> Reseller Center), where it says "Add Reseller Privileges" select that user account you created and click "Ok"

You will then be brought to a page where you can set up permissions. In the "Root Access" section of the page, check the box that says "All Features (warning: root access)" then click the save button at the bottom of the page.
 
Last edited:

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
Just an additional thought. If they require shell root access, as they will from time to time, add them to the sudo list. They then type "sudo -s" and enter their own password to get root access. You can add users to the sudo list with the "visudo" command; duplicate one of the lines with something like ALL(ALL) on it, changing the username to your management company's.

The problem with this is that you may find they still need root access. I'm not sure there's a way around it with cpanel. However, if you encourage them to use the alternatives most of the time it will reduce the anonymity factor of everyone doing stuff as root which is a real advantage.