The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating a new root user login for Server Management Company

Discussion in 'General Discussion' started by mealto, May 10, 2007.

  1. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  2. _Sam_

    _Sam_ Well-Known Member

    Joined:
    Feb 24, 2007
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Hi,
    You could create a reseller account and give it all permissions :)
     
  3. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
    #4 cPanelDavidG, May 11, 2007
    Last edited: May 11, 2007
  5. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page