linux更改所有权
From the different measures of web hosting reseller hosting is counted as the most reliable and easy way to earn online and it is available in Windows and Linux platform. People all over the world are using Windows or cPanel reseller hosting package to earn good income online by deploying hosting packages under their own price and brand name. But some of them are unaware with of the facts which are useful to manage reseller hosting account to run successfully without any worries and one of the issues is, how to change reseller ownership. If you want to change the reseller ownership from your old reseller to a new account with the required user name and want to move all the domains which are under the older reseller to new then you need to change the ownership of all the accounts manually by using reseller center but you can easily change the reseller ownership by using following script.
通过不同的网络托管方式转销商托管被视为最可靠最简单的在线赚钱方式并且可在Windows和Linux平台上使用。 世界各地的人们都在使用Windows或cPanel经销商托管包通过以自己的价格和品牌名称部署托管包来在线赚取可观的收入。 但是其中一些人并不了解有助于管理经销商托管帐户成功运行而无需担心的事实其中一个问题是如何更改经销商所有权。 如果要将经销商所有权从旧经销商更改为具有所需用户名的新帐户并且要将旧经销商下的所有域移至新帐户则需要使用手动更改所有帐户的所有权转销商中心但是您可以使用以下脚本轻松更改转销商所有权。
For Example: Old Reseller Username supp0rt New Reseller Username supp0rt1
例如旧经销商用户名 supp0rt新经销商用户名 supp0rt1
1) First you need to find out the user name which is under the old reseller ( supp0rt) account by using the following command cd /var/cpanel/users grep “OWNERsupp0rt” * -R | awk -F: ‘{print $1}’ > user_name cat /var/cpanel/users/user_name
1)首先您需要使用以下命令查找旧经销商(supp0rt)帐户下的用户名cd / var / cpanel / users grep“ OWNER supp0rt” * -R | awk -F“ {print $ 1}”>用户名cat / var / cpanel / users / user_name
It shows all the user name (names) which is under the old reseller account.
它显示旧经销商帐户下的所有用户名(名称)。
2) Then create script file vi /var/cpanel/users/supp0rt.sh Then enter the following code #!/bin/sh for user in cat user_name do /usr/bin/replace ‘OWNERsupp0rt’ ‘OWNERsupp0rt1’ — /var/cpanel/users/$user done /scripts/updateuserdomains Save the file chmod 755/var/cpanel/users/supp0rt.sh sh/var/cpanel/users/supp0rt.sh Now it’s Done.
2)然后创建脚本文件vi /var/cpanel/users/supp0rt.sh然后在cat user_name中为用户输入以下代码/ bin / sh do / usr / bin / replaceOWNER supp0rtOWNER supp0rt1— / var / cpanel / users / $ user done / scripts / updateuserdomains保存文件chmod 755 / var / cpanel / users / supp0rt.sh sh / var / cpanel / users / supp0rt.sh现在完成。
Please login to your new reseller account and check all the accounts.
请登录到您的新经销商帐户并检查所有帐户。
Note : Please don’t forget to replace the supp0rt as Old reseller name and supp0rt1 as New reseller UserName
注意请不要忘记将supp0rt替换为旧经销商名称将supp0rt1替换为新经销商用户名
Now it’s done and you have moved all your domains from your old cPanel reseller hosting account to a new account with all privileges. eUKhost UK web hosting service provider is deploying quality web hosting service with tech savvy tech and phone support people from last decade to solve any customer queries with UK reseller hosting, dedicated server hosting or with any other web hosting package.
现在已完成您已将所有域从旧的cPanel经销商托管帐户移至拥有所有特权的新帐户。 eUKhost UK网络托管服务提供商正在与近十年来精通技术的技术和电话支持人员一起部署高质量的网络托管服务以通过英国代理商托管专用服务器托管或任何其他网络托管软件包来解决任何客户查询。
翻译自: https://www.eukhost.com/blog/webhosting/how-to-change-reseller-ownership/
linux更改所有权