Skip to main content

How To Update Reseller Privileges - Multiple Reseller Account

Comments

4 comments

  • Jcats
    What are you trying to change in Reseller Privileges, example you could do: for CPUSER in $(whmapi1 listresellers |grep - |grep [a-Z] | awk '{print $2}') ; do whmapi1 setresellerlimits user="${CPUSER}" bandwidth_limit=1073741824 diskspace_limit=1073741824 enable_resource_limits=1 enable_overselling=1 enable_overselling_bandwidth=1 enable_overselling_diskspace=1 enable_account_limit=0 ; done
    That example is taken from:
    0
  • Naila
    Thank you @Jcats, Another question, how to mass apply ACL to all reseller? Example, i have creating ACL_Reseller, than i want all existing reseller use this ACL
    0
  • Jcats
    for CPUSER in $(whmapi1 listresellers |grep - |grep [a-Z] | awk '{print $2}') ; do whmapi1 setacls reseller="${CPUSER}" acllist=your_acl_list ; done
    0
  • cPanelLauren
    Thanks @Jcats
    0

Please sign in to leave a comment.