Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

add other root access

Discussion in 'General Discussion' started by bt4, May 24, 2011.

  1. bt4

    bt4 Well-Known Member

    Joined:
    Jul 1, 2010
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    56
    Hello
    i want make new user have full root access for SSH and WHM like root
    how i can do it
    thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    In order to give another account full access to Web Host Manager, you would need to make the account a reseller, and assign that reseller the following privilege:

    "All Features"

    To note, this option grants a reseller the same privileges as the root user.

    The following is a document on assigning privileges to reseller:

    Reseller - Edit Privileges

    For SSH access as root without the direct password, you can create a key via:

    "WHM Main >> Security Center >> Manage root’s SSH Keys"

    Keep in mind that any account that has full root access will also have permission to change the root password via WHM or SSH.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bt4

    bt4 Well-Known Member

    Joined:
    Jul 1, 2010
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    56
    i can add new user via SSH? like this command
    adduser -g 0 newusername -G wheel,sys,bin,daemon,adm,disk -d /sf7 -s /bin/sh

    but now this command haven't root access for SSH
    i want some think like that
     
  4. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    829
    Likes Received:
    26
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You can do this in sudoers:

    user ALL=(ALL) ALL
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice