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 reseller privs command line

Discussion in 'cPanel Developers' started by Arvand, Jul 16, 2010.

  1. Arvand

    Arvand Well-Known Member
    PartnerNOC

    Joined:
    Jul 26, 2003
    Messages:
    130
    Likes Received:
    1
    Trophy Points:
    168
    Hello,

    I'm using

    /scripts/createacct $DOMAIN $USERNAME $PASS

    To create an account through command line. I'm wondering if there is a way to make that account a reseller and give them "all" access. Would this suffice?

    echo $USERNAME":all" > /var/cpanel/resellers
     
    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