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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

extended jailed shell for reseller

Discussion in 'Security' started by IndicHosts.net, Jul 15, 2014.

  1. IndicHosts.net

    IndicHosts.net Active Member

    Joined:
    Mar 11, 2006
    Messages:
    29
    Likes Received:
    2
    Trophy Points:
    153
    cPanel Access Level:
    Root Administrator
    A reseller customer wants access to all the files of his owned cpanel accounts. He needs this to do complex script updates across multiple cPanel accounts. What are the downsides of allowing a reseller-login access to all cPanel accounts owned by him in jailed-shell?

    How can we implement this?
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    829
    Likes Received:
    25
    Trophy Points:
    168
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    At present a reseller can switch between cPanel accounts, but cannot SSH to users it does not own. You can perhaps get around this with a custom script executed with sudo access from the reseller, that will let them su to accounts they own.

    This may not even be necessary though, because if SSH access is enabled on the server and you have the SSH Keys feature enabled, the reseller can simply switch to the user's cPanel, add their own SSH key, then log in as the user. It's slightly more tedious, but it is no extra work on your part.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, you would have to use a method like the one Vanessa mentioned in the previous post (authorizing the SSH key in each cPanel account) because there is no native support for SSH access to multiple accounts as a single reseller.

    Thank you.
     
  4. IndicHosts.net

    IndicHosts.net Active Member

    Joined:
    Mar 11, 2006
    Messages:
    29
    Likes Received:
    2
    Trophy Points:
    153
    cPanel Access Level:
    Root Administrator
    Thanks Vanessa the workaround worked like a charm.
     
Loading...

Share This Page