cpanel script to extract reseller users and domain names

This bash script is very useful if you are planning to do cpanel account migrations purely from the commandline and automate the process of the migration . This scripts extracts the names of all reseller users in the server to the file

/opt/reseller_list

and correspondingly for all users in this list extract the cpanel usernames to the file /opt/reseller_users_<resellername>

and all domains under the reseller to

/opt/reseller_domains_<resellername>

Once done with your use you can clean out the files created by the script using the single command

rm -f /opt/reseller*

As always this script is not fool proof but was perfected after several tries of a very large account migration process.You are welcome to send modifications and ideas to enhance this script

*This script can be run on successfully only on Cpanel servers and is tested upto Cpanel version 11

wget http://gnusys.net/downloads/cpanelresellerdetails.bash

bash cpanelresellerdetails.bash

Share and Enjoy:
  • Digg
  • Mixx
  • del.icio.us
  • StumbleUpon
  • Facebook
  • TwitThis
  • Technorati
  • Google

Tags: ,

3 Responses to “cpanel script to extract reseller users and domain names”

  1. Control Panel - cPanel - Global Point Forum Says:

    [...] developed the website. User Contributed Scripts extract-reseller-usernames-and-domain-names: cpanel script to extract reseller users and domain names Control Panel Options The options on the right are the links to the pages where you will [...]

  2. Fatih Akçegil Says:

    Web siteniz hoşuma gitti , siteyi wordpress ile mi hazırladınız ?

  3. Bowen19Susan Says:

    This is understandable that cash makes us free. But what to do if somebody doesn’t have money? The one way is to get the http://lowest-rate-loans.com and just bank loan.

Leave a Reply