Changing all accounts to be owned by root

studentwebhosting

Active Member
Dec 12, 2002
32
0
156
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.
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
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.