#1 (permalink)  
Old 03-31-2005, 03:34 PM
Registered User
 
Join Date: Mar 2005
Posts: 8
akox is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-31-2005, 04:52 PM
Registered User
 
Join Date: Mar 2005
Posts: 8
akox is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-01-2005, 01:25 PM
Registered User
 
Join Date: Jan 2005
Posts: 232
thehostinghut is on a distinguished road
How was you able to do more than one at a time...
And at what point do you tell it the password? You can PM me if you want.

Thanks,

Tracy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:19 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc