Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2007
    Posts
    815

    assign multiple accounts to a reseller, how to automate it?

    Is there a way to automate the assignment of accounts to a reseller using SSH? Say I have 100 accounts to assign to another reseller, if i do it one by one in WHM it will take me ages to complete it.
    All things work together for the good of those who love God - Romans 8:28

  2. #2
    Join Date
    Sep 2007
    Posts
    815
    uh.. I hope someone will be able to help
    All things work together for the good of those who love God - Romans 8:28

  3. #3
    Join Date
    Aug 2002
    Location
    Bharat
    Posts
    4,722
    You can change ownership of multiple accounts from within WHM,

    Main >> Resellers >> Reseller Center

    You just have to do 100 clicks for 100 accounts, its still better than manually writing those 100 account names on command line or in a file to be included in a command.
    Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
    Offering domains, shared, reseller & VPS hosting.
    Reliable Domain Reseller Account Resell Domains with Confidence

  4. #4
    Join Date
    Sep 2007
    Posts
    815
    Quote Originally Posted by vinsar View Post
    You can change ownership of multiple accounts from within WHM,

    Main >> Resellers >> Reseller Center

    You just have to do 100 clicks for 100 accounts, its still better than manually writing those 100 account names on command line or in a file to be included in a command.
    That is why I was asking an automated way how to do that without MANUALLY putting or clicking 100 accounts.

    I know there's a way. I am NOT asking how to write it in a file one by one. Actually there is a way to extract all accounts from truedomains file. I know how to do that. I just don't know what cPanel or WHM command to run to assign an account to a reseller. I know WHM scripts are in /script directory but i dont know what to run to automate this process in SSH. Not to be rude or anything, if you can't help on how to automate then maybe it's better if you will just not reply at all.
    All things work together for the good of those who love God - Romans 8:28

  5. #5
    modify and use this -
    Code:
    perl -pi.bkp -e 's/oldowner/newowner/g' /etc/trueuserowners
    Windows VPS | Linux Hybrid Server | 99.9% Uptime
    http://www.odishahosting.com ( USA DC)
    http://www.odishahosting.in ( INDIA DC)

Similar Threads

  1. Replies: 0
    Last Post: 07-16-2006, 05:16 PM
  2. Automate Multiple Sites - Server Logs Downloads
    By q582gmzhi in forum Web Hosting
    Replies: 1
    Last Post: 08-15-2004, 12:33 AM
  3. Anyone Else Using Multiple Reseller Accounts?
    By Louis Prima in forum Reseller Hosting
    Replies: 13
    Last Post: 01-31-2004, 03:50 AM
  4. Multiple Reseller Accounts
    By imitech in forum Reseller Hosting
    Replies: 14
    Last Post: 06-17-2002, 08:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •