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.

Need help with 1600 accounts

Discussion in 'General Discussion' started by darkeden, Jul 1, 2010.

  1. darkeden

    darkeden Registered

    Joined:
    Jul 1, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Someone ordered a high end reseller plan from me and he has 1600 clients which I just transferred to the server after days and days of work. Now how do I put them under the owners account so he has control over them? They are currently under root control and going to change ownership of account 1600 times will take forever.

    Any help would be appreciated.
     
  2. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    Login to WHM > Modify/Upgrade Multiple Aaccounts > Check the boxes of the accounts of that reseller > Scroll down to bottom and select his reseller account in "Reseller" dropdown > Click Change!

    The only thing is that you need to check the 1600 boxes once, but you can do this with Keyboard (tab - spacebar - tab - spacebar - tab - spacebar .... do this while paying your favorite music) :D

    - Vijay
     
    #2 Indianets, Jul 1, 2010
    Last edited: Jul 1, 2010
  3. aymanfekri

    aymanfekri Registered

    Joined:
    Feb 26, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cpanel place ownership into cpanel user file (/var/cpanel/users/userfile )
    place users into file
    edit all users in place with sed,awk... your fav one
    i will give you hint with sed
    PHP:
    for CPUSER in `cat users `;do sed -'s/^OWNER=[A-Za-z0-9]*$/OWNER=newowner/' /var/cpanel/users/$CPUSER;done
    test first , i recommend backup /var/cpanel/users/ before editing

    Thank you
     
Loading...

Share This Page