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…
Terminate old suspended accounts on cpanel server Following scripts: 1) vi /root/terminatesuspended.sh for i in `find /var/cpanel/suspended/ -mtime +90 | cut…
Script to delete a line from a file if it have a particular pattern sed -i "/"pattern"/d" filename find /home/…