Category Archives: VPS

How to Disable SSH Root Login in Linux

The root account is often the most targeted account by crackers via SSH under Linux. An enabled SSH root account on a Linux server exposed to a network or, worse, exposed in Internet can pose a high degree of security concern by system administrators. The SSH root account should be disabled in all cases in… Read More »

Category: VPS

How to Check Timezone in Linux

How to Check Timezone in Linux In this short article, we will walk newbies through the various simple ways of checking system timezone in Linux. Time management on a Linux machine especially a production server is always an important aspect of system administration. There are a number of time management utilities available on Linux such… Read More »

Category: VPS

Different Ways to Disable Root Account in Centos

The root account is the ultimate account on a Linux and other Unix-like operating systems. This account has access to all commands and files on a system with full read, write and execute permissions. It is used to perform any kind of task on a system; to create/update/access/delete other users’ accounts, install/remove/upgrade software packages, and… Read More »

Category: VPS

Block FTP access using csf firewall

To completely disable the FTP access on the server follow the below steps:

Search for the lines: # Allow incoming TCP ports TCP_IN = and remove the port 21 from the list Save and quit. And then restart the CSF firewall using the below command:

If you want to block FTP access for… Read More »

Category: VPS

View the body and/or header of a queued exim message

View the body and/or header of a queued exim message If you already know the email’s ID (if you dont: Review Exim’s Queue), printing the header and/or body information is simple! For this example, we’ll use ‘1XSY5g-0001kh-N6’ as the email ID but this ID is unique to each email message – yours will be different.… Read More »

Category: VPS

List messages in exim queue from command line

List messages in exim queue from command line If you already know how many emails are in the queue and want to see certain short information regarding each email in the queue, you can print a list of the emails currently queued by performing this command:

If you have a lot of emails in… Read More »

Category: VPS

Check number of messages in Exim queue from command line

Check number of messages in Exim queue from command line Checking exim’s email queue from the command line can be performed with a very simple and short command:

You’ll see a simple number output, informing you of the total number of emails currently in the queue.

Category: VPS

How to Set Up Multiple Shared IPs on cPanel

How to Set Up Multiple Shared IPs on cPanel There are many reasons why you would need multiple shared IPs on a single server. For one, when you set up multiple shared IPs, you can minimize the effects of a DoS (Denial of Service) attack by blocking off traffic to other IPs. This could work… Read More »

Category: VPS

How to Install mod_security with Apache on CentOS7

                        Mod_Security is a Web Application Firewall that executes as a Module on your Web Server and provides protection against various attacks to our web applications. It monitors HTTP traffic and performs real-time analysis. It’s a product developed by Breach Security and is available… Read More »

Category: VPS

How to change the path of the auditd log file /var/log/audit/audit.log

How to change the path of the auditd log file /var/log/audit/audit.log An important task related to troubleshooting can arise from an understanding of activities commonly associated with the action of reading and writing files. Linux provides a simple utility for this. Known as auditd, this service (or daemon) starts during the boot process. Events are… Read More »

Category: VPS