Reseller account migration by using script

For migrating Reseller and/or Bulk accounts between cPanel servers:: 1) On source server cd /home mkdir /home/Migration cat /etc/trueuserowners |grep reseller_username | awk ‘{print $1}’ | cut -d: -f 1 > Migration.txt for i in `cat Migration.txt`;do /scripts/pkgacct $i; mv /home/cpmove-$i.tar.gz /home/Migration/;done   2) On Destination server vi Migration.txt ( add all username which you want to […]

See More

Scan FTP uploaded files on cpanel servers

Scan FTP uploaded files on cPanel servers First lets install clamAV , it has been now been included in Cpanel/WHM you can do so from your WHM interface as root by clicking on : Cpanel —> Manage Plugins —> on clamavconnector Check the “Install and Keep Updated” and then click at the bottom of the […]

See More

How to Terminate old suspended accounts on cpanel server

Terminate old suspended accounts on cPanel server Following scripts:  1) vi /root/terminatesuspended.sh for i in `find /var/cpanel/suspended/ -mtime +90 | cut -d’/’ -f5 | sed ‘1 d’` do y | /scripts/killacct $i –killdns n; done; 2) sh /root/terminatesuspended.sh & 3) Done

See More