Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    1

    Default Changing account owner

    I've done a search and probably didn't search for the right term.

    I am in the process of migrating a cpanel account from one server to another. During the migration, I need to change the user name. For example, on oldhost, the files are located in /home/olduser/ - i.e. username is olduser. On the newhost, I need the same files located in /home/newuser - i.e. username is newuser.

    I've looked in the backup and the name olduser is liberally sprinkled throughout the files. When I do the restore, instead of bringing the files into the /home/newuser/ directory, it builds a new /home/olduser/ directory and repopulates all the files. That in itself is not all that unusual, and probably expected behavior.

    Is there a utility or an easy way to get the files in the correct directory on newhost?

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,168
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    You might find this section of the documentation useful I bet.
    More about /scripts/postwwwacct & /scripts/prewwwacct

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Modify an Account Username of existing users or during Account Transfers & Migrations

    Quote Originally Posted by darreldamon View Post
    I am in the process of migrating a cpanel account from one server to another. During the migration, I need to change the user name. For example, on oldhost, the files are located in /home/olduser/ - i.e. username is olduser. On the newhost, I need the same files located in /home/newuser - i.e. username is newuser.

    Is there a utility or an easy way to get the files in the correct directory on newhost?
    It is possible to change an existing account username using the Modify an Account function in WHM at the following menu path:
    WHM: Main >> Account Functions >> Modify an Account
    Related Documentation: ModifyanAccount < AllDocumentation/WHMDocs < TWiki

    If root access is available on the source server that is being transferred from it is also possible to transfer an account and modify it to use a new local username in the same one-step process using the account transfer functionality via WHM at the following menu path:
    WHM: Main >> Transfers >> Copy an account from another server
    Related Documentation: CopyAccount < AllDocumentation/WHMDocs < TWiki

Similar Threads & Tags
Similar threads

  1. Reseller Account Owner
    By Solokron in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-25-2007, 09:18 AM
  2. Replies: 1
    Last Post: 06-27-2007, 12:37 PM
  3. Changing owner of an account
    By Anoxhosting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-15-2003, 02:49 PM
  4. Modernbill Account Owner
    By Express in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-01-2003, 09:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube