Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    8

    Default 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.

  2. #2
    Member
    Join Date
    Mar 2005
    Posts
    8

    Default 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 04:12 PM.

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    232

    Default

    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

Similar Threads & Tags
Similar threads

  1. Account Setup and Configuration via Command line
    By kylemcgill in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-30-2010, 01:10 AM
  2. Can you remove an account from the command line?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-01-2010, 06:18 PM
  3. Transfer sites from command line
    By rajuru in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-17-2009, 08:02 PM
  4. create account using command line
    By wintersun892 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-12-2007, 09:18 AM
  5. Run Account Copier From The Command Line
    By bens in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-16-2002, 11:06 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube