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.

Changing all accounts to be owned by root

Discussion in 'General Discussion' started by studentwebhosting, Nov 29, 2004.

  1. studentwebhosting

    studentwebhosting Active Member

    Joined:
    Dec 12, 2002
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I would like to change all my user accounts to be owned by root instead of being owned by a previous reseller account that I've now removed. Is there any wasy way to do this without doing each one individually?

    I can't user the change multiple accounts because I can't sellect "root" from the drop down list as it's not available.

    Thanks in advance.
     
  2. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    ssh to the box and:

    cd /var/cpanel/users

    replace OWNER=reseller_user OWNER=root -- *

    Of course, replace reseller_user with the username of the reseller that you are trying to change ownership from.
     
Loading...

Share This Page