Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 fix change of resellers ownership mistake

Discussion in 'Workarounds and Optimization' started by hicom, Aug 22, 2017.

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    168
    We went through this and thought to share a solution.

    Problem: We changed multiple accounts to the wrong reseller

    Impact: Now accounts belong to the wrong reseller and all is mixed

    Solution:

    The ownership of accounts is located in /etc/trueuserowners . However, that file is not backed up by cPanel. Therefore, we need to retrieve the previous reseller account name from backup.

    The reseller owner of an account is located in the backup directory inside the account name /cp/username

    If your backups are uncompressed, browse to the location of your backup where all the accounts are located. Then search as follow:

    grep -R PreviousResellerUsername ./*/cp/*

    It will provide a list of all reseller names that were associated with each username.
     
    cPanelMichael likes this.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I've moved this thread to our workarounds forum. Thanks for taking the time to share this solution!
     
Loading...

Share This Page