The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ownership of cpanel domains

Discussion in 'General Discussion' started by pebu, Jan 8, 2009.

  1. pebu

    pebu Member

    Joined:
    Apr 24, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I'm trying to figure out which config file holds the fact that domain aaa.com is owned by user1, and bbb.com is owned by user2.

    In short, I want to move ownership of a domain from one user to another, with retaining all files. I can easily move the domain files from one users home to the other, but I need to tell Cpanel as well so the new owner can manipulate the new domain.

    I'm not trying to move ownership of the entire account, just 1 domain.

    Any tips on how to proceed?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You can below command to change the ownership of entire user to new user:

    chown -R newusername:newusername /home/oldusername
     
Loading...

Share This Page