|
|||
|
Transfer account from command line
Hello ppl,
I would like to ask if there is a way to transfer an account (or many accounts) from another host through command line (bash/tcsh/whatever). To be more specific, I want to do "Copy an account from another server with account password" from command line, so that I can transfer multiple accounts in one time (using a custom script), using something like this: # xxxxxxxx sourcehost sourcedomain sourceuser sourcepassword The reason to do such a thing is that I don't have root access to the "source" host, and so I cannot transfer multiple accounts in one time using the Web interface. Thank you in advance. |
|
|||
|
found it ?
Hello again,
I think i found it! /scripts/getremotecpmove hostname username domainname 1 (give user's password in STDIN and press enter) then run /scripts/restorepkg username and finally /scripts/chpass username password that's it ![]() bye Last edited by akox; 03-31-2005 at 05:12 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|