SSH script to change owner of account

ttremain

Well-Known Member
Feb 16, 2003
246
2
168
cPanel Access Level
Root Administrator
Is there a script (SSH) to change the owner of an account?

The settings that need to be changed, appear to be all over the system:

/etc/trueuserowners
/var/cpanel/root.acct
/var/cpanel/reselleracct.acct
/var/cpanel/users/account
/etc/userdomains

Others too I'm sure...

Any help would be appreciated, but I'd like to find something already written (by Nick preferred)