Operating System & Version
Cloudlinux 7.8
cPanel & WHM Version
90.0.15

Vs Nu

Well-Known Member
Jul 17, 2015
132
8
68
India
cPanel Access Level
Root Administrator
can u break up the command ? how to use it in ssh
It will run for all users which will take long time to complete and for each and every run it will restart the apache so which will make the sites to down

You can grep the the proxypass in httpd.conf file and take those usernames which has enabled for proxypass and run the command only for those users
 

Tarun Khanna

Registered
Jun 15, 2016
4
0
1
India
cPanel Access Level
Root Administrator
It will run for all users which will take long time to complete and for each and every run it will restart the apache so which will make the sites to down

You can grep the the proxypass in httpd.conf file and take those usernames which has enabled for proxypass and run the command only for those users
Not understand. After using transfer tool outgoing mails are not working.
 

WasChristine

Technical Analyst
Aug 10, 2018
57
11
83
Houston, TX
cPanel Access Level
Root Administrator
Check screenshot . Nothing Happened.
The "while read" loop appears to be missing a "done" at the end of it, which signifies that the loop should stop there. You should be able to get this to run by adding "done" at the end of this line, so it will look something along the lines of:

Code:
cut -d ":" -f1 /etc/trueuserowners | while read user ; do whmapi1 unset_all_service_proxy_backends username=$user ; done
 
  • Like
Reactions: cPRex