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.

Reseller Permissions Issue

Discussion in 'General Discussion' started by DBM, Jul 8, 2016.

Tags:
  1. DBM

    DBM Member

    Joined:
    Jan 18, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I have a Reseller Account with Full Root Access and every option there is in the Reseller Privileges section checked but the account does not have permission to edit the sshd_config file. I am trying to edit the file in order to change PermitRootLogin no to PermitRootLogin yes.

    Why does the Reseller Account with Full Access not have the permission to edit the sshd_config file?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The option you are referring to is documented at:

    Edit Reseller Nameservers and Privileges

    This allows you to grant root access to WHM to a reseller. However, granting root access to SSH requires additional steps. The following thread explains how to setup root access for SSH for an additional user:

    SSH Hardening Guide

    Thank you.
     
  3. DBM

    DBM Member

    Joined:
    Jan 18, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I might not have been clear in my earlier post ...

    I can login into WHM without any issues. My sshd_config file has been set to PermitRootLogin no.

    I have a reseller account that has all of the options as root does except when I go to change the sshd_config to PermitRootLogin yes via the reseller account ... it states that the resller account does not have permission to edit file.

    Every permission is granted or checked for the reseller permissions ... everything should be the same as the root.

    I suppose my question why is the WHM not giving the reseller account the permission to edit the file as it should?


     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    A Reseller without full root access, wouldn't have access to that file. Full Reseller access in WHM isn't the same as root user on linux.
     
  5. DBM

    DBM Member

    Joined:
    Jan 18, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you for that information.

    I cannot login with root access with SSH or FTP. Is there a way to access and edit the sshd_config that has the setting PermitRootLogin no?


     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Sure. The setting you want to change (not a good idea) requires you to login as user with SSH access, and then su -, to root. You'd then have access to the entire file system.
    http://www.linfo.org/su.html
    (**one bad command there now and you can kill your server and everything on it, including all backups of any sort.**)

    GL!
     
Loading...

Share This Page