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.

How to get list of cpanel accounts for specific reseller?

Discussion in 'General Discussion' started by electric, Mar 5, 2007.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    I need to write a script that does a backup of all accounts "owned" by a specific reseller.

    Is it possible to get a simple listing of all accounts owned by a certain reseller?

    (I need to do this with a shell script.)

    Thanks.
     
  2. jpetersen

    jpetersen Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    113
    Likes Received:
    4
    Trophy Points:
    18
    grep resellerUserName /etc/trueuserowners | cut -d : -f 1
     
Loading...

Share This Page