How to fix change of resellers ownership mistake

hicom

Well-Known Member
May 23, 2003
289
2
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.
 
  • Like
Reactions: cPanelMichael