We can avoid such attacks at some level by disabling default FTP login details on Cpanel web server.
How can we do this? Use following steps to do this.
Edit following file
root@HR-root#vim /usr/local/cpanel/bin/ftpupdate
Search for following line and comment it using #
# print FTPASS join( ‘:’, $system_user, $entry->[1], $entry->[2], $entry->[3], $entry->[6], $entry->[7], $entry->[8] ) . “\n”;
$vhosts->{$system_user} = join( ‘:’, $system_user, $entry->[1], $entry->[2], $entry->[3], $entry->[6], $entry->[7], $entry->[8] ) . “\n”;
After that run following ftpupdate command to update above settings
root@HR-root#/usr/local/cpanel/bin/ftpupdate
Thats all.
Every Diwali Brings New Light, New Beginnings, and New Opportunities In today’s digital world, your website is the Diya that…
Photography is not just about taking pictures—it’s about presenting them beautifully. For photographers and creative bloggers, WordPress photo gallery plugins…
Festivals are more than cultural celebrations—they’re golden opportunities for e-commerce stores and bloggers to attract, engage, and convert audiences. During…
If you’re new to web hosting, the idea of moving your website from one provider to another might sound intimidating.…
WooCommerce powers over 5 million online stores, and its true potential comes alive with plugins that enhance functionality. The right…