PDA

View Full Version : Is it possible to move users between resellers?



sHuKKo
07-22-2003, 02:29 AM
Hi

I wonder if it is possible to move users between resellers.
I double checked DA control panel for this but can not find it anywhere.

What i want to do is move a site/user from resellerA to resellerB account.

Thanks.

loopforever
07-22-2003, 07:56 PM
This is possible, however, you have to modify two files on the system, and change the reseller who created the account. Offhand, I don't remember the names of the two files, but Mark or John can tell you...

DirectAdmin Support
07-22-2003, 07:57 PM
Through DirectAdmin, not at the momment. It shouldn't be too hard to add that functionality though.. we'll add it to the list.

If you want to manually do it, edit:

/usr/local/directadmin/data/users/username/user.conf
and set the "creator" to the new reseller.

edit:
/usr/local/directadmin/data/users/resellerusername/users.list
and add the user to the list

edit:
/usr/local/directadmin/data/users/oldresellerusername/users.list
and remove the user from the list.

A tool to do this should be quite easy and straight forward. It will most likely be an "admin only" tool.

John

WildFyre
09-28-2004, 04:59 PM
Is it possible to move a user to a admin account? I currently have a reseller account but recreating it as an admin and don't want to lose the users owned by it.

WildFyre
09-28-2004, 05:12 PM
nvm, it worked lol, sorry, guess i shoulda tried it first

TMC
12-18-2004, 04:34 AM
Originally posted by DirectAdmin Support
A tool to do this should be quite easy and straight forward. It will most likely be an "admin only" tool.Hello John.

Please can you update this thread with any progress on "user moving / user renaming" techniques.

Thanks in advance!

GoranTornqvist
01-20-2005, 02:06 AM
Posted this question to support, thought I should add the question, and hopefully a solution to it here.
=========================================
I got a user I want to move from reseller1 to reseller2
The user is on it’s own IP owned by reseller1.
How do I move the user AND the IP to reseller2?

DirectAdmin Support
01-20-2005, 11:14 AM
Hello,

The IP itself won't change in the user account itself. If you want to move the IP over too, then:

1) edit:
/usr/local/directadmin/data/users/reseller1/ip.list
/usr/local/directadmin/data/users/reseller2/ip.list

remove the ip from reseller1 and put it in reseller2

2) edit /usr/local/directadmin/data/admin/ips/1.2.3.4 (where 1.2.3.4 is the ip) and change "reseller=reseller1" to "reseller=reseller2"

And also move the user using the steps mentioned previously.

John

rldev
01-20-2005, 12:28 PM
These would be great features to have built into the DA GUI. Thanks for the how-to.