WordPress Developer & Linux Administrator

February 18th, 2015

Bash script to fix permissions on a cPanel web server

Colin at ServInt created it. Boom Shadow modified it. Now I’ve enhanced it to do more.

This version is exactly the same as Boom Shadow’s version, however, I’ve modified it to support additional /home directories so that permissions extend beyond just the default /home directory.

Continue Reading

Free photography to use in your blog posts

Unsplash is a free-to-use website that features photography images taken by a team of camera guys. They release 10 new photos every 10 days, and it covers a broad range of photographs perfect for everyday blog posts. Definitely worth checking out, as they’ve amassed a large number of images in their collection already.

Continue Reading

Bash script to scan reseller's accounts for malware

The ConfigServer eXploit Scanner (cxs) is a very powerful tool for cPanel web hosting servers. While not free, it provides active scanning of files as they are uploaded to the server, and so much more. It truly is one of the best clean-up and discovery tools out there for someone with a cPanel server. With over 3,000 known exploit script fingerprint matches (in addition to standard ClamAV detection), CXS is sure to catch most of what your clients’ sites may be hiding.

CXS let’s you scan per domain, by first letter, or by scanning your entire home directory (ie., all cPanel accounts) for malware. But what if you want to do this on a reseller basis? This script will do just that. It will take input via reseller username on the server, and will perform a detailed scan (with quarantine) for each of that reseller’s hosted accounts!

Continue Reading

Log file locations on a cPanel web server

cPanel is the largest web hosting control panel in the world. Learning where each of the cPanel log file locations are can be an indispensable resource when trying to troubleshoot an issue with your cPanel web server. Following is a list of log file locations for cPanel.

Continue Reading