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!

Concerns about reseller account owner

Discussion in 'General Discussion' started by gildas, Oct 12, 2017.

  1. gildas

    gildas Active Member

    Joined:
    Mar 30, 2017
    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Paris
    cPanel Access Level:
    Root Administrator
    Hello,

    since the update of CPANEL in order to pass in version 66.0.64, I have a concern of delivery of account reseller.
    The creation of a reseller account takes place from an api and the command setacls
    when delivering a reseller there is no right, so it can not create a hosting package from their own WHM etc ...

    Where would this error come from? worry with calling a function via the api?
    bug related to the CPANEL update?

    Best Regards,
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Can you let us know the specific WHM API 1 command you are using?

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

    gildas Active Member

    Joined:
    Mar 30, 2017
    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Paris
    cPanel Access Level:
    Root Administrator
    Hello,

    we currently use the following API command: json-api/setacls?reseller
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    For instance, could you provide an example of the specific API call that isn't working?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. gildas

    gildas Active Member

    Joined:
    Mar 30, 2017
    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Paris
    cPanel Access Level:
    Root Administrator
    Hello,
    The set of API queries does not work, it does not have specific queries posing concern.

    Best Regards,
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    I'm unable to reproduce any issues with this WHM API 1 function. EX:

    Code:
    whmapi1 setacls reseller=username acl-kill-dns=1 acl-edit-dns=1 acl-edit-mx=1 acl-add-pkg=1 acl-suspend-acct=1 acl-ssl=1 manage-api-tokens=1 cpanel-integration=1
    This assigns the privileges referenced in the command. Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look at why this isn't working on your system.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. gildas

    gildas Active Member

    Joined:
    Mar 30, 2017
    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Paris
    cPanel Access Level:
    Root Administrator
    Hello,

    here is the command we launch in order to create an account reseller:
    Code:
    $parameters = array (
                'acl-list-accts' => 1,
                'acl-show-bandwidth' => 1,
                'acl-suspend-acct' => 1,
                'acl-passwd' => 1,
                'acl-create-acct' => 1,
                'acl-edit-mx' => 1,
                'acl-ssl-gencrt' => 1,
                'acl-ssl-buy' => 1,
                'acl-ssl' => 1,
                'acl-kill-acct' => 1,
                'acl-upgrade-account' => 1,
                'acl-create-dns' => 1,
                'acl-edit-dns' => 1,
                'acl-park-dns' => 1,
                'acl-kill-dns' => 1,
                'acl-add-pkg' => 1,
                'acl-edit-pkg' => 1,
                'acl-thirdparty' => 1,
                'acl-mailcheck' => 1,
                'acl-news' => 1,
                'acl-disallow-shell' => 1,
                'acl-add-pkg-shell' => 1,
                'acl-viewglobalpackages' => 0,
                'acl-allow-addoncreate' => 1,
                'acl-allow-parkedcreate' => 1,
                'acl-allow-unlimited-bw-pkgs' => 0,
                'acl-allow-unlimited-disk-pkgs' => 0,
                'acl-allow-unlimited-pkgs' => 0,
                'acl-add-pkg-ip' => 0,
                'acl-allow-emaillimits-pkgs' => 0,
                'acl-stats' => 0,
                'acl-status' => 0,
                'acl-restart' => 0,
                'acl-resftp' => 0,
                'acl-edit-account' => 0,
                'acl-limit-bandwidth' => 0,
                'acl-quota' => 0,
                'acl-demo-setup' => 0,
                'acl-rearrange-accts' => 0,
                'acl-clustering' => 0,
                'acl-all' => 0,
                'acl-rslimit-disk' => 50000,
                'acl-rslimit-bw' => 25000,
    );
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Can you verify if the issue persists when removing this line from your script?

    Thank you.
     
    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