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.

Second Root User

Discussion in 'General Discussion' started by GreenVine, Aug 6, 2012.

  1. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,
    I want to create a second root user for WHM, the only difference between root and second root user is second root unable to change root's password.
    This is my shell command:
    Code:
    useradd -u 0  -o  -g root  -G root -d /home/root2 root2
    root@localhost [~]# id root2
    uid=0(root) gid=0(root) groups=0(root)
    
    But when I use this account to login to WHM, it says 'Invalid login', I want to know why and how to fix that?
     
  2. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Anyone could help me to solve?
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you want a second WHM root like user, you'll have to use one created in WHM itself in WHM > Create a New Account area, then give the user all privileges in Resellers > Reseller Center > Edit Privileges/Nameservers area under "Root Access" where it has All Features (warning: total and complete access).
     
  4. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I created a account and give it root access, but I found that it can change root password. Is there anyway to disable it?
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The WHM created user with root like privileges has access to change the root password? I didn't know that was the case.
     
  6. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Actually I can see Change Root Password function in WHM created user, please see:
    /http://imgur.com/DayOk
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I see. I know of no way to remove that capability then, since you are providing full WHM root like access to that user from that option in the Reseller section.

    Can you explain why you need a full privilege user of this nature rather than one with select jailed abilities?
     
  8. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I want to assign this account to my technical supporter so they must get full access expect change root password.
     
  9. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Do you have physical access to the machine in the event that happened? If so, then why are you going to all this trouble? If they changed the password on you, then you have a lot more to worry about then the password being changed since they already have full access. It's easy to change the password back if you have console on the machine to do that, but the very fact if they did change it would mean they are probably doing something far worse, which they can do because of having full access already.
     
  10. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for your reply.
    This is a VPS server, I am only have access to that via KVM.
     
  11. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I'm unaware of a method to make this possible to provide WHM access to a user who has full root privileges without providing all of the WHM options. Since changing the root password is there, then you are right, it allows that to happen unfortunately.
     
  12. GreenVine

    GreenVine Member

    Joined:
    Jan 28, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is there anyway to disable Change Root Password function for cPanel? Even I can delete that page...
    If I need change root password, I can go with SSH and do not need cPanel to help me.
     
Loading...

Share This Page