Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2010
    Location
    Marbella, Spain
    Posts
    20

    Default How do I export a list of all accounts in a specific reseller account?

    Hello, we have cPanel set up with reseller accounts, and in each reseller account we have domains.

    In two of our reseller accounts we have one domain missing, compared to our known list of domains that should be there.

    There are way, way, too many domains to do a visual comparison, so we want to export a list of the domains in each reseller account.

    List Accounts >> Find by Reseller is good as far as it goes, but there's no way to export a list of domains for the "found" reseller, as .CSV or any other format.

    "Fetch CSV" is a piece of junk! Sorry, it is:

    • Instead of only the domains in the "found" reseller account, it gives ALL domains on the server, all jumbled together.

    • And also, there is no way to then export the results of "fetch .CSV" except to copy and paste (how 90's) into a spread sheet, and then the columns are not preserved...only the rows.

    • Seriously, what's the point of fetching something in comma separated text, if you can't then do anything with it?

    • Where's the command to "export" once you've "fetched" it?

    Any other way to export a list of domains in a specific reseller account?

    Or, am I missing something?

    Many thanks, if someone can help.

    Steve

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Default Re: How do I export a list of all accounts in a specific reseller account?

    I'm also interested in it.
    Anybody?

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How do I export a list of all accounts in a specific reseller account?

    In my opinion, this thread should be a Feature Request.

    A Reseller should see only his accounts listed here on this page.

    If root is logged in, some sort of drop down menu for him to select the Reseller so that he can view just that Resellers accounts.

    Fetching this list via CSV should prompt to save a properly formatted .csv file generated by server. If a single Reseller is selected, spit out his accounts, if no Reseller selected it should spit out all accounts to root user.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How do I export a list of all accounts in a specific reseller account?

    Since a reseller owns an account, this can be pulled from /var/cpanel/root.accts location in root SSH:

    Code:
    grep resellername /var/cpanel/root.accts | awk {'print $1'} | cut -d, -f 1 | sort
    This will return a list of the main domain accounts that the reseller user owns. Here resellername would be replaced by the reseller's name.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Account automatically added to backup Specific Users List.
    By fdnven in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-24-2011, 12:09 PM
  2. How to get list of cpanel accounts for specific reseller?
    By electric in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2007, 03:30 AM
  3. Accounts list in reseller WHM vanishes
    By saj in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-01-2006, 01:49 AM
  4. reseller list accounts blank?
    By alareach in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 08-30-2003, 12:13 PM
  5. How to kill an account that isn\'t in the list accounts list
    By Domenico in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-29-2001, 11:07 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube