Add to Favourites Add to Favourites    Print this Article Print this Article

Moving Users between Resellers

This guide is depreciated.  As of DirectAdmin 1.31.2, you can do this at the Admin Level.
http://www.directadmin.com/features.php?id=843




Users are assigned to Resellers (their creators) by means of plaintext lists.

If you wish to move a User to a different Reseller, then you can simply move the user to a different list.

For each username you wish to move, edit /usr/local/directadmin/data/users/reseller/users.list and move username from the old Reseller to the new Reseller.  That's the important part of the move.

The creator value is also stored by the User.  Edit /usr/local/directadmin/data/users/username/user.conf for each user, and change "creator=reseller" from the old Reseller to the new one.
Repeat this step for the /usr/local/directadmin/data/users/username/domains/*.conf files for the domains, if there is a "creator=" value stored.

To update the "show all users" cache, you'll need to run

echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue

The list will be update about a minute later.

Was this answer helpful?

Also Read