Skip to main content

Change the reseller for a user in shell

Comments

2 comments

  • sparek-3
    You can also use /usr/local/cpanel/bin/whmapi1 modifyacct user=$user owner=$reseller Where $user is the username of the account and $reseller is the new reseller user that is to own the account. Of course, this doesn't have any of the sanity checks you have in place, but if $user doesn't exist or $reseller isn't a reseller, then it won't be able to do anything.
    0
  • cPanelMichael
    Hello, I've moved this thread to our Workarounds and Optimizations forum category. Thank you.
    0

Please sign in to leave a comment.